parent
e61d1d0da9
commit
e61f632531
2 changed files with 11 additions and 0 deletions
|
@ -655,6 +655,7 @@ inline = choice
|
|||
, pStrong
|
||||
, pSuperscript
|
||||
, pSubscript
|
||||
, pSmall
|
||||
, pStrikeout
|
||||
, pUnderline
|
||||
, pLineBreak
|
||||
|
@ -718,6 +719,9 @@ pSuperscript = pInlinesInTags "sup" B.superscript
|
|||
pSubscript :: PandocMonad m => TagParser m Inlines
|
||||
pSubscript = pInlinesInTags "sub" B.subscript
|
||||
|
||||
pSmall :: PandocMonad m => TagParser m Inlines
|
||||
pSmall = pInlinesInTags "small" (B.spanWith ("",["small"],[]))
|
||||
|
||||
pStrikeout :: PandocMonad m => TagParser m Inlines
|
||||
pStrikeout =
|
||||
pInlinesInTags "s" B.strikeout <|>
|
||||
|
|
|
@ -4,3 +4,10 @@ pandoc -t asciidoc
|
|||
^D
|
||||
[.small .red]#foo _bar_#
|
||||
```
|
||||
|
||||
```
|
||||
pandoc -f html -t asciidoc
|
||||
<small>SMALL</small>
|
||||
^D
|
||||
[.small]#SMALL#
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue