Merge pull request #1496 from mpickering/master
Org Writer: Write anchor elements
This commit is contained in:
commit
08bed142ba
1 changed files with 2 additions and 0 deletions
|
@ -238,6 +238,8 @@ inlineListToOrg lst = mapM inlineToOrg lst >>= return . hcat
|
|||
|
||||
-- | Convert Pandoc inline element to Org.
|
||||
inlineToOrg :: Inline -> State WriterState Doc
|
||||
inlineToOrg (Span (uid, [], []) []) =
|
||||
return $ "<<" <> text uid <> ">>"
|
||||
inlineToOrg (Span _ lst) =
|
||||
inlineListToOrg lst
|
||||
inlineToOrg (Emph lst) = do
|
||||
|
|
Loading…
Reference in a new issue