MWeb使用模板
生成目录
[toc]
加粗字
加粗
斜体字
斜体
下划线
下划线
删除
删除
高亮
==高亮==
行内代码
行内代码
首行缩进
输入法切换到全角,双击空格键
全角的空格+  
代码块
@requires_authorization
def somefunc(param1='', param2=0):
'''A docstring'''
if param1 > param2: # interesting
print 'Greater'
return (param2 - param1 + 1) or None
class SomeClass:
pass
>>> message = '''interpreter
... prompt'''
代码语法高亮
Language | key |
---|---|
1C | 1c |
ActionScript | actionscript |
Apache | apache |
AppleScript | applescript |
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# | cs |
CSS | css |
D | d |
Dart | d |
Delphi | delphi |
Diff | diff |
Django | django |
DOS .bat | dos |
Dust | dust |
Elixir | elixir |
ERB<br>(Embedded Ruby) | erb |
Erlang REPL | erlang-repl |
Erlang | erlang |
FIX | fix |
F# | fsharp |
G-code<br>(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 | json |
Lasso | lasso |
Less | less |
Lisp | lisp |
LiveCode | livecodeserver |
LiveScript | livescript |
Lua | lua |
Makefile | makefile |
Markdown | markdown |
Mathematica | mathematica |
Matlab | matlab |
MEL<br>(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 21<br>(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 |
YAML | yml |
标题
一级标题
二级标题> >
三级标题
四级标题
五级标题
六级标题(最多就到六级标题)
注释
<!--文字注释-->
引用
这是一级引用
这是二级引用
这是三级引用
无序列表
- 苹果