CMIContent Marketing InstituteContent directory

News · General · Archive

CodeMirror: Properties files mode

Space Home News

.CodeMirror {border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;}

CodeMirror

Home Manual Code

Language modes Properties files

Properties files mode

# This is a properties file a.key = A value another.key = http://example.com ! Exclamation mark as comment but.not=Within ! A value # indeed # Spaces at the beginning of a line spaces.before.key=value backslash=Used for multi\ line entries,\ that's convenient. # Unicode sequences unicode.key=This is \u0020 Unicode no.multiline=here # Colons colons : can be used too # Spaces spaces\ in\ keys=Not very common...

var editor = CodeMirror.fromTextArea(document.getElementById("code"), {});

MIME types defined: text/x-properties , text/x-ini .

More in Archive · More in General · More in News