diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2021-06-05 16:31:12 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-06-05 13:51:18 -0600 |
commit | c6f8c38c49e9579bf0bc0c91131bb206f0617e6b (patch) | |
tree | 1bdacc491a38fc06aeaadd658c22ad0572566ed3 /src/Text/Pandoc/Writers/Markdown | |
parent | 17a2f4c49dab7d4e6ec9cc010ad2cc02a147e2d4 (diff) | |
download | pandoc-c6f8c38c49e9579bf0bc0c91131bb206f0617e6b.tar.gz |
Markdown writer: re-use functions from Inline
Instead of duplicating linkAttributes and attrsToMarkdown, let’s just use those from the Inline module.
Diffstat (limited to 'src/Text/Pandoc/Writers/Markdown')
-rw-r--r-- | src/Text/Pandoc/Writers/Markdown/Inline.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Markdown/Inline.hs b/src/Text/Pandoc/Writers/Markdown/Inline.hs index e6c6da5a9..e66258220 100644 --- a/src/Text/Pandoc/Writers/Markdown/Inline.hs +++ b/src/Text/Pandoc/Writers/Markdown/Inline.hs @@ -11,7 +11,9 @@ Portability : portable -} module Text.Pandoc.Writers.Markdown.Inline ( - inlineListToMarkdown + inlineListToMarkdown, + linkAttributes, + attrsToMarkdown ) where import Control.Monad.Reader import Control.Monad.State.Strict |