mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-27 01:45:56 +00:00
Merge pull request #1496 from mpickering/master
Org Writer: Write anchor elements
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user