No indentation
'''c#
using Orchard.ContentManagement;
namespace RelationSample.Models {
public class AddressPart : ContentPart
Can't handle any lines in the snippet
'''c#
using Orchard.ContentManagement;
namespace RelationSample.Models {
public class AddressPart : ContentPart
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#
using Orchard.ContentManagement;
namespace RelationSample.Models {
public class AddressPart : ContentPart
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
And that's all there is to it!
Escaped App_Data