Skip to content

测试-Test

No indentation

没有缩进

'''c#

'''C#

using Orchard.ContentManagement;

使用Orchard.ContentManagement;

namespace RelationSample.Models {

namespace RelationSample.Models {

public class AddressPart : ContentPart<AddressPartRecord> {

    public string Address {

        get { return Record.Address; }

        set { Record.Address = value; }

    }

    public string City {

        get { return Record.City; }

        set { Record.City = value; }

    }

    public StateRecord State {

        get { return Record.StateRecord; }

        set { Record.StateRecord = value; }

    }

    public string Zip {

        get { return Record.Zip; }

        set { Record.Zip = value; }

    }

}

}

}

'''

“””

Can't handle any lines in the snippet

无法处理代码段中的任何行

'''c#

'''C#

using Orchard.ContentManagement;

namespace RelationSample.Models {

    public class AddressPart : ContentPart<AddressPartRecord> {

        public string Address {

            get { return Record.Address; }

            set { Record.Address = value; }

        }



        public string City {

            get { return Record.City; }

            set { Record.City = value; }

        }

        public StateRecord State {

            get { return Record.StateRecord; }

            set { Record.StateRecord = value; }

        }

        public string Zip {

            get { return Record.Zip; }

            set { Record.Zip = value; }

        }

    }

}

'''

“””

Some Other Markdown

其他一些降价

'''c#

'''C#

using Orchard.ContentManagement;

使用Orchard.ContentManagement;

namespace RelationSample.Models {

namespace RelationSample.Models {

public class AddressPart : ContentPart<AddressPartRecord> {

    public string Address {

        get { return Record.Address; }

        set { Record.Address = value; }

    }

    public string City {

        get { return Record.City; }

        set { Record.City = value; }

    }

    public StateRecord State {

        get { return Record.StateRecord; }

        set { Record.StateRecord = value; }

    }

    public string Zip {

        get { return Record.Zip; }

        set { Record.Zip = value; }

    }

}

}

}

'''

“””

No code fence

没有代码围栏

using Orchard.ContentManagement;



namespace RelationSample.Models {

    public class AddressPart : ContentPart<AddressPartRecord> {

        public string Address {

            get { return Record.Address; }

            set { Record.Address = value; }

        }

        public string City {

            get { return Record.City; }

            set { Record.City = value; }

        }

        public StateRecord State {

            get { return Record.StateRecord; }

            set { Record.StateRecord = value; }

        }

        public string Zip {

            get { return Record.Zip; }

            set { Record.Zip = value; }

        }

    }

}

And some XML for fun!

还有一些XML乐趣!

'''xml

'''XML

<Placement>

    <Place Parts_Address_Edit="Content:10"/>

    <Place Parts_Address="Content:10"/>

</Placement>

'''

“””

And that's all there is to it!

这就是它的全部!

Escaped App_Data

转义为'App_Data`