Added .properties files mode
This commit is contained in:
parent
19dd921127
commit
258d00dcff
5 changed files with 153 additions and 0 deletions
|
|
@ -112,6 +112,7 @@ var docs = {
|
|||
"docs/php.php": "PHP",
|
||||
"docs/plaintext.txt": {name: "Plain Text", prepare: makeHuge, wrapped: true},
|
||||
"docs/powershell.ps1": "Powershell",
|
||||
"docs/properties.properties": "Properties",
|
||||
"docs/python.py": "Python",
|
||||
"docs/r.r": "R",
|
||||
"docs/rdoc.Rd": "RDoc",
|
||||
|
|
|
|||
15
demo/kitchen-sink/docs/properties.properties
Normal file
15
demo/kitchen-sink/docs/properties.properties
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# You are reading the ".properties" entry.
|
||||
! The exclamation mark can also mark text as comments.
|
||||
# The key and element characters #, !, =, and : are written with a preceding backslash to ensure that they are properly loaded.
|
||||
website = http\://en.wikipedia.org/
|
||||
language = English
|
||||
# The backslash below tells the application to continue reading
|
||||
# the value onto the next line.
|
||||
message = Welcome to \
|
||||
Wikipedia!
|
||||
# Add spaces to the key
|
||||
key\ with\ spaces = This is the value that could be looked up with the key "key with spaces".
|
||||
# Unicode
|
||||
tab : \u0009
|
||||
empty-key=
|
||||
last.line=value
|
||||
|
|
@ -82,6 +82,7 @@ var modesByName = {
|
|||
pgsql: ["pgSQL" , "pgsql"],
|
||||
php: ["PHP" , "php|phtml"],
|
||||
powershell: ["Powershell" , "ps1"],
|
||||
properties: ["Properties" , "properties"],
|
||||
python: ["Python" , "py"],
|
||||
r: ["R" , "r"],
|
||||
rdoc: ["RDoc" , "Rd"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue