nihdoc

WIP markup parser (txt -> html)
git clone git://git.alexkarle.com.com/blag
Log | Files | Refs | README | LICENSE

big.txt (897B) [raw]


      1 # hello world
      2 
      3 This is an example nihdoc file!
      4 
      5 _This should be emphasized within a paragraph_
      6 
      7 *As "should" this bold*
      8 
      9 `and code!`
     10 
     11 ## Sub Header 2
     12 
     13 ### Woah a third header?
     14 
     15 - We can have lists??
     16   - And nested lists??
     17   - And `code` within lists?
     18   - but not `*bold*` within code
     19 - A tier1 item
     20 
     21 This is a new paragraph
     22 that wraps nicely
     23 
     24 1. This is a numbered list
     25 2. Cool, huh?
     26     1. yes!
     27 
     28 This is a _paragraph_ *dangit* with
     29 links to [https://alexkarle.com] and
     30 my [gopherhole](gopher://alexkarle.com).
     31 
     32 > this is a block quote
     33 > that wraps!
     34 
     35 	$ this is a code block
     36 	$ *bold* and _italics_ and `code` have no effect!
     37 	$ git status
     38 	$ [ not a link ] !
     39 
     40 <html> is escaped!
     41 
     42 cheers!
     43 
     44 [use `sacc(1)`](gopher://alexkarle.com)
     45 
     46 [this is a link
     47 with a newline!](https://example.com)
     48 
     49 [
     50 this is another link
     51 with a newline!](https://example.com)
     52 
     53 > This is a block quote
     54 >
     55 > With two paragraphs!