Code syntax highlighting
The writing format is:
"' Language_key
if (condition) {
return True
}
` ` `
In the "(three anti-quote) between the code, where language_key
the value, please refer to the supported language and abbreviation mark
For example, you would language_key
JavaScript
replace it with the following effect:
if (condition){ return true}
supported languages and abbreviation tags
Language |
Language_key |
1C |
1c |
ActionScript |
ActionScript |
Apache |
Apache |
AppleScript A |
Pplescript |
AsciiDoc |
AsciiDoc |
Aspectj |
AsciiDoc |
AutoHotkey |
AutoHotkey |
AVR Assembler |
Avrasm |
Axapta |
Axapta |
Bash |
Bash |
Brainfuck |
Brainfuck |
Cap ' n Proto |
Capnproto |
Clojure REPL |
Clojure |
Clojure |
Clojure |
CMake |
CMake |
Coffeescript |
Coffeescript |
C++ |
Cpp |
C # C |
S |
Css |
Css |
D |
D |
Dart |
D |
Delphi |
Delphi |
Diff |
Diff |
Django |
Django |
DOS. bat |
Dos |
Dust |
Dust |
Elixir |
Elixir |
ERB (Embedded Ruby) |
Erb |
Erlang REPL |
Erlang-repl |
Erlang |
Erlang |
FIX |
Fix |
F # |
FSharp |
G-code (ISO 6983) |
Gcode |
Gherkin |
Gherkin |
GLSL |
Glsl |
Go |
Go |
Gradle |
Gradle |
Groovy |
Groovy |
Haml |
Haml |
Handlebars |
Handlebars |
Haskell |
Haskell |
Haxe |
Haxe |
HTTP |
http |
Ini file |
Ini |
Java |
Java |
Javascript |
Javascript |
JSON J |
Son |
Lasso |
Lasso |
Less |
Less |
Lisp |
Lisp |
LiveCode |
Livecodeserver |
LiveScript |
LiveScript |
Lua |
Lua |
Makefile |
Makefile |
Markdown |
Markdown |
Mathematica |
Mathematica |
Matlab |
Matlab |
MEL (Maya Embedded Language) |
Mel |
Mercury |
Mercury |
Mizar |
Mizar |
Monkey |
Monkey |
Nginx |
Nginx |
Nimrod |
Nimrod |
Nix |
Nix |
NSIS |
NSIs |
Objective C |
Objectivec |
OCaml |
OCaml |
Oxygene |
Oxygene |
Parser 3 |
Parser3 |
Perl |
Perl |
Php |
Php |
PowerShell |
PowerShell |
Processing |
Processing |
Python ' s Profiler output |
Profile |
Protocol buffers |
Protobuf |
Puppet |
Puppet |
Python |
Python |
Q |
Q |
R |
R |
RenderMan RIB |
Rib |
Roboconf |
Roboconf |
RenderMan RSL |
Rsl |
Ruby |
Ruby |
Oracle Rules Language |
Ruleslanguage |
Rust |
Rust |
Scala |
Scala |
Scheme |
Scheme |
Scilab |
Scilab |
SCSS |
Scss |
Smali |
Smali |
SmallTalk |
Smalltalk |
Sml |
Sml |
Sql |
Sql |
Stata |
Stata |
STEP part (ISO 10303-21) |
Step21 |
Stylus |
Stylus |
Swift |
Swift |
Tcl |
Tcl |
TeX |
Tex |
Thrift |
Thrift |
Twig |
Twig |
TypeScript |
Typescript |
Vala |
Vala |
vb.net |
VBnet |
VBScript in HTML |
Vbscript-html |
VBScript |
VBScript |
Verilog |
Verilog |
Vhdl |
Vhdl |
Vim Script |
Vim |
Intel x86 Assembly |
X86asm |
Xl |
Xl |
XML, HTML |
Xml |
Reference
- HAROOPAD code block syntax
- Markdown syntax
http://blog.csdn.net/u013553529/article/details/50629055
Go Haroopad Markdown Editor code syntax highlighting support