"Fossies" - the Fresh Open Source Software Archive

Member "pandoc-2.18/test/command/168.md" (4 Apr 2022, 1091 Bytes) of package /linux/www/pandoc-2.18.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) GitHub Flavored Markdown source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ```
    2 % pandoc -t native
    3 :::::::::: warning ::::::::::::
    4 This is the warning!
    5 
    6 1. list
    7 2. another
    8 
    9 ::: {#myid .class key=val}
   10 nested div
   11 :::
   12 :::::::::::::::::::::::::::::::
   13 ^D
   14 [ Div
   15     ( "" , [ "warning" ] , [] )
   16     [ Para
   17         [ Str "This"
   18         , Space
   19         , Str "is"
   20         , Space
   21         , Str "the"
   22         , Space
   23         , Str "warning!"
   24         ]
   25     , OrderedList
   26         ( 1 , Decimal , Period )
   27         [ [ Plain [ Str "list" ] ] , [ Plain [ Str "another" ] ] ]
   28     , Div
   29         ( "myid" , [ "class" ] , [ ( "key" , "val" ) ] )
   30         [ Para [ Str "nested" , Space , Str "div" ] ]
   31     ]
   32 ]
   33 ```
   34 
   35 ```
   36 % pandoc -t native
   37 foo
   38 :::
   39 bar
   40 ^D
   41 [ Para
   42     [ Str "foo"
   43     , SoftBreak
   44     , Str ":::"
   45     , SoftBreak
   46     , Str "bar"
   47     ]
   48 ]
   49 ```
   50 
   51 ```
   52 % pandoc -t native
   53 ::::: Warning
   54 Here is a paragraph.
   55 
   56 And another.
   57 :::::
   58 ^D
   59 [ Div
   60     ( "" , [ "Warning" ] , [] )
   61     [ Para
   62         [ Str "Here"
   63         , Space
   64         , Str "is"
   65         , Space
   66         , Str "a"
   67         , Space
   68         , Str "paragraph."
   69         ]
   70     , Para [ Str "And" , Space , Str "another." ]
   71     ]
   72 ]
   73 ```