A Sublime Text plugin that uses Pandoc to convert text from one markup format into another. Pandoc can convert documents in markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, OPML, or Haddock markup to XHTML, HTML5, HTML slide shows using Slidy, reveal.js, Slideous, S5, or DZSlides, Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML, EPUB version 2 or 3, FictionBook2, DocBook, GNU TexInfo, Groff man pages, Haddock markup, OPML, LaTeX, ConTeXt, LaTeX Beamer slides, PDF via LaTeX, Markdown, reStructuredText, AsciiDoc, MediaWiki markup, Emacs Org-Mode, Textile, or custom writers can be written in lua.
MIT License
137
stars
26
forks
source link
Markdown to Docx fails to render links correctly for complicated URLS #66
When I use Pandoc to convert a Markdown file to a DocX, I'm finding that hyperlinks with complicated URLs like, for example, Jira comment permalinks, fail to render correctly.
Markdown example:
[link to the comment](https://jira.atlassian.com/browse/TRANS-2476?focusedCommentId=1627205&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1627205)
This renders in DocX as:
[link to the comment](https://jira.atlassian.com/browse/TRANS-2476?focusedCommentId=1627205&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1627205)
Otherwise, the DocX is rendering correctly, and other, less complicated hyperlinks render correctly. No errors are shown in the Sublime Text console. The same markdown file renders correctly with a HTML output.
Unfortunately, this plugin has no influence on how the content is processed: it only deals with creating the pandoc command to run. If you still have this problem, you could file a bug upstream.
Issue noticed on: Sublime Text 3.0 Build 3143
When I use Pandoc to convert a Markdown file to a DocX, I'm finding that hyperlinks with complicated URLs like, for example, Jira comment permalinks, fail to render correctly.
Markdown example:
This renders in DocX as:
Otherwise, the DocX is rendering correctly, and other, less complicated hyperlinks render correctly. No errors are shown in the Sublime Text console. The same markdown file renders correctly with a HTML output.