cabin

Source code for personal website
git clone git://git.dimitrijedobrota.com/cabin.git
Log | Files | Refs

TEST.md (4409B)


      1 @title: Test
      2 @date: 2021-08-16
      3 @language: en
      4 @categories: general
      5 
      6 # h1 Heading 8-)
      7 ## h2 Heading
      8 ### h3 Heading
      9 #### h4 Heading
     10 ##### h5 Heading
     11 ###### h6 Heading
     12 
     13 
     14 ## Horizontal Rules
     15 
     16 ___
     17 
     18 ---
     19 
     20 ***
     21 
     22 
     23 ## Typographic replacements
     24 
     25 Enable typographer option to see result.
     26 
     27 (c) (C) (r) (R) (tm) (TM) (p) (P) +-
     28 
     29 test.. test... test..... test?..... test!....
     30 
     31 !!!!!! ???? ,,  -- ---
     32 
     33 "Smartypants, double quotes" and 'single quotes'
     34 
     35 
     36 ## Emphasis
     37 
     38 **This is bold text**
     39 
     40 __This is bold text__
     41 
     42 *This is italic text*
     43 
     44 _This is italic text_
     45 
     46 ~~Strikethrough~~
     47 
     48 
     49 ## Blockquotes
     50 
     51 
     52 > Blockquotes can also be nested...
     53 >> ...by using additional greater-than signs right next to each other...
     54 > > > ...or with spaces between arrows.
     55 
     56 
     57 ## Lists
     58 
     59 Unordered
     60 
     61 + Create a list by starting a line with `+`, `-`, or `*`
     62 + Sub-lists are made by indenting 2 spaces:
     63   - Marker character change forces new list start:
     64     * Ac tristique libero volutpat at
     65     + Facilisis in pretium nisl aliquet
     66     - Nulla volutpat aliquam velit
     67 + Very easy!
     68 
     69 Ordered
     70 
     71 1. Lorem ipsum dolor sit amet
     72 2. Consectetur adipiscing elit
     73 3. Integer molestie lorem at massa
     74 
     75 
     76 1. You can use sequential numbers...
     77 1. ...or keep all the numbers as `1.`
     78 
     79 Start numbering with offset:
     80 
     81 57. foo
     82 1. bar
     83 
     84 
     85 ## Code
     86 
     87 Inline `code`
     88 
     89 Indented code
     90 
     91     // Some comments
     92     line 1 of code
     93     line 2 of code
     94     line 3 of code
     95 
     96 
     97 Block code "fences"
     98 
     99 ```
    100 Sample text here...
    101 ```
    102 
    103 Syntax highlighting
    104 
    105 ``` js
    106 var foo = function (bar) {
    107   return bar++;
    108 };
    109 
    110 console.log(foo(5));
    111 ```
    112 
    113 ## Tables
    114 
    115 | Option | Description |
    116 | ------ | ----------- |
    117 | data   | path to data files to supply the data that will be passed into templates. |
    118 | engine | engine to be used for processing templates. Handlebars is the default. |
    119 | ext    | extension to be used for dest files. |
    120 
    121 Right aligned columns
    122 
    123 | Option | Description |
    124 | ------:| -----------:|
    125 | data   | path to data files to supply the data that will be passed into templates. |
    126 | engine | engine to be used for processing templates. Handlebars is the default. |
    127 | ext    | extension to be used for dest files. |
    128 
    129 
    130 ## Links
    131 
    132 [link text](http://dev.nodeca.com)
    133 
    134 [link with title](http://nodeca.github.io/pica/demo/ "title text!")
    135 
    136 Autoconverted link https://github.com/nodeca/pica (enable linkify to see)
    137 
    138 
    139 ## Images
    140 
    141 ![Minion](https://octodex.github.com/images/minion.png)
    142 ![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
    143 
    144 Like links, Images also have a footnote style syntax
    145 
    146 ![Alt text][id]
    147 
    148 With a reference later in the document defining the URL location:
    149 
    150 [id]: https://octodex.github.com/images/dojocat.jpg  "The Dojocat"
    151 
    152 
    153 ## Plugins
    154 
    155 The killer feature of `markdown-it` is very effective support of
    156 [syntax plugins](https://www.npmjs.org/browse/keyword/markdown-it-plugin).
    157 
    158 
    159 ### [Emojies](https://github.com/markdown-it/markdown-it-emoji)
    160 
    161 > Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum:
    162 >
    163 > Shortcuts (emoticons): :-) :-( 8-) ;)
    164 
    165 see [how to change output](https://github.com/markdown-it/markdown-it-emoji#change-output) with twemoji.
    166 
    167 
    168 ### [Subscript](https://github.com/markdown-it/markdown-it-sub) / [Superscript](https://github.com/markdown-it/markdown-it-sup)
    169 
    170 - 19^th^
    171 - H~2~O
    172 
    173 
    174 ### [\<ins>](https://github.com/markdown-it/markdown-it-ins)
    175 
    176 ++Inserted text++
    177 
    178 
    179 ### [\<mark>](https://github.com/markdown-it/markdown-it-mark)
    180 
    181 ==Marked text==
    182 
    183 
    184 ### [Footnotes](https://github.com/markdown-it/markdown-it-footnote)
    185 
    186 Footnote 1 link[^first].
    187 
    188 Footnote 2 link[^second].
    189 
    190 Inline footnote^[Text of inline footnote] definition.
    191 
    192 Duplicated footnote reference[^second].
    193 
    194 [^first]: Footnote **can have markup**
    195 
    196     and multiple paragraphs.
    197 
    198 [^second]: Footnote text.
    199 
    200 
    201 ### [Definition lists](https://github.com/markdown-it/markdown-it-deflist)
    202 
    203 Term 1
    204 
    205 :   Definition 1
    206 with lazy continuation.
    207 
    208 Term 2 with *inline markup*
    209 
    210 :   Definition 2
    211 
    212         { some code, part of Definition 2 }
    213 
    214     Third paragraph of definition 2.
    215 
    216 _Compact style:_
    217 
    218 Term 1
    219   ~ Definition 1
    220 
    221 Term 2
    222   ~ Definition 2a
    223   ~ Definition 2b
    224 
    225 
    226 ### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr)
    227 
    228 This is HTML abbreviation example.
    229 
    230 It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.
    231 
    232 *[HTML]: Hyper Text Markup Language
    233 
    234 ### [Custom containers](https://github.com/markdown-it/markdown-it-container)
    235 
    236 ::: warning
    237 *here be dragons*
    238 :::
    239