Wrang
Syntax
- Headings are declared using a
# sign with a number (1 .. 6) next to it; eg: #1
- Links are declared in the following manner
@[display text](link url)
- Images are declared in the following manner

- Lists are declared using a
+ at the beginning of a line
- lists nest by indenting with spaces, one level per leading space
- Text can be made bold by surrounding it by a
* on both sides
- Text can be italicized by surrounding it by a
/ on both sides
- Text can be underlined by surrounding it by a
_ on both sides
- Code spans are highlighted by tagging a language, `c:int x = 1;`, `odin:x := 1`, `julia:x = 1`
Odin greets the world with
fmt.println("hi")
Note
- If consecutive lines start with a
+, they're consitered as items of the same list
- Code highlighting needs hl-keyword, hl-string, hl-comment and hl-number rules in your stylesheet
- Text formatting does not work properly if the format modifiers are not closed in the right order
back to home
Wrang on github