# Rendering small caps, superscripts and subscripts with and without `raw_html` ## Small caps ``` % pandoc --wrap=none -f latex -t commonmark-raw_html This has \textsc{small caps} in it. ^D This has SMALL CAPS in it. ``` ``` % pandoc --wrap=none -f latex -t commonmark+raw_html This has \textsc{small caps} in it. ^D This has small caps in it. ``` ``` ``` % pandoc --wrap=none -f latex -t markdown_strict+raw_html This has \textsc{small caps} in it. ^D This has small caps in it. ``` ## Strikeout ``` % pandoc --wrap=none -f html -t commonmark-raw_html-strikeout This has strikeout in it. ^D This has strikeout in it. ``` % pandoc --wrap=none -f html -t commonmark+raw_html-strikeout This has strikeout in it. ^D This has strikeout in it. ``` ``` % pandoc --wrap=none -f html -t commonmark-raw_html+strikeout This has strikeout in it. ^D This has ~~strikeout~~ in it. ``` ``` % pandoc --wrap=none -f html -t commonmark+raw_html+strikeout This has strikeout in it. ^D This has ~~strikeout~~ in it. ``` ``` % pandoc --wrap=none -f html -t markdown_strict-raw_html-strikeout This has strikeout in it. ^D This has strikeout in it. ``` ``` % pandoc --wrap=none -f html -t markdown_strict+raw_html-strikeout This has strikeout in it. ^D This has strikeout in it. ``` ``` % pandoc --wrap=none -f html -t markdown_strict-raw_html+strikeout This has strikeout in it. ^D This has ~~strikeout~~ in it. ``` ``` % pandoc --wrap=none -f html -t markdown_strict+raw_html+strikeout This has strikeout in it. ^D This has ~~strikeout~~ in it. ``` ## Superscript ``` % pandoc --wrap=none -f html -t commonmark-raw_html This has superscript in it and 2 3 again. With emphasis: 2 3. With letters: foo. With a span: 2. ^D This has ^(superscript) in it and ² ³ again. With emphasis: ^(*2* 3). With letters: ^(foo). With a span: ². ``` ``` % pandoc --wrap=none -f html -t commonmark+raw_html This has superscript in it and 2 again. ^D This has superscript in it and 2 again. ``` ``` % pandoc --wrap=none -f html -t markdown_strict-raw_html-superscript This has superscript in it and 2 again. ^D This has ^(superscript) in it and ² again. ``` ``` % pandoc --wrap=none -f html -t markdown_strict+raw_html-superscript This has superscript in it and 2 again. ^D This has superscript in it and 2 again. ``` ``` % pandoc --wrap=none -f html -t markdown_strict+raw_html+superscript This has superscript in it and 2 again. ^D This has ^superscript^ in it and ^2^ again. ``` ## Subscript ``` % pandoc --wrap=none -f html -t commonmark-raw_html This has subscript in it and 2 3 again. With emphasis: 2 3. With letters: foo. With a span: 2. ^D This has \_(subscript) in it and ₂ ₃ again. With emphasis: \_(*2* 3). With letters: \_(foo). With a span: ₂. ``` ``` % pandoc --wrap=none -f html -t commonmark+raw_html This has subscript in it and 2 again. ^D This has subscript in it and 2 again. ``` ``` % pandoc --wrap=none -f html -t markdown_strict-raw_html-subscript This has subscript in it and 2 again. ^D This has _(subscript) in it and ₂ again. ``` ``` % pandoc --wrap=none -f html -t markdown_strict+raw_html-subscript This has subscript in it and 2 again. ^D This has subscript in it and 2 again. ``` ``` % pandoc --wrap=none -f html -t markdown_strict+raw_html+subscript This has subscript in it and 2 again. ^D This has ~subscript~ in it and ~2~ again. ```