"Fossies" - the Fresh Open Source Software Archive

Member "pandoc-2.18/test/command/1592.md" (4 Apr 2022, 1576 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 [hi]{.smallcaps}
    4 ^D
    5 [ Para [ SmallCaps [ Str "hi" ] ] ]
    6 ```
    7 
    8 ```
    9 % pandoc -t native
   10 [hi]{style="font-variant: small-caps;"}
   11 ^D
   12 [ Para [ SmallCaps [ Str "hi" ] ] ]
   13 ```
   14 
   15 ```
   16 % pandoc -t native
   17 <span class="smallcaps">hi</span>
   18 ^D
   19 [ Para [ SmallCaps [ Str "hi" ] ] ]
   20 ```
   21 
   22 ```
   23 % pandoc -f html -t native
   24 <p><span class="smallcaps">hi</span></p>
   25 ^D
   26 [ Para [ SmallCaps [ Str "hi" ] ] ]
   27 ```
   28 
   29 ```
   30 % pandoc -f html -t native
   31 <p><span style="font-variant:small-caps">hi</span></p>
   32 ^D
   33 [ Para [ SmallCaps [ Str "hi" ] ] ]
   34 ```
   35 
   36 ```
   37 % pandoc -f native -t html
   38 [Para [SmallCaps [Str "hi"]]]
   39 ^D
   40 <p><span class="smallcaps">hi</span></p>
   41 ```
   42 
   43 ```
   44 % pandoc -f native -t markdown
   45 [Para [SmallCaps [Str "hi"]]]
   46 ^D
   47 [hi]{.smallcaps}
   48 ```
   49 
   50 ```
   51 % pandoc -f html -t native
   52 <bdo dir="ltr">foo</bdo>
   53 ^D
   54 [ Plain
   55     [ Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "foo" ] ]
   56 ]
   57 ```
   58 
   59 ```
   60 % pandoc -f html -t native
   61 <bdo dir="rtl">foo<bdo dir="ltr">bar</bdo>baz</bdo>
   62 ^D
   63 [ Plain
   64     [ Span
   65         ( "" , [] , [ ( "dir" , "rtl" ) ] )
   66         [ Str "foo"
   67         , Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "bar" ]
   68         , Str "baz"
   69         ]
   70     ]
   71 ]
   72 ```
   73 
   74 ```
   75 % pandoc -f html -t native
   76 <p><bdo dir="rtl">This text will go right
   77 to left.</bdo></p>
   78 ^D
   79 [ Para
   80     [ Span
   81         ( "" , [] , [ ( "dir" , "rtl" ) ] )
   82         [ Str "This"
   83         , Space
   84         , Str "text"
   85         , Space
   86         , Str "will"
   87         , Space
   88         , Str "go"
   89         , Space
   90         , Str "right"
   91         , SoftBreak
   92         , Str "to"
   93         , Space
   94         , Str "left."
   95         ]
   96     ]
   97 ]
   98 ```