New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown to docx Conversion extension #153

Closed
vsch opened this Issue Sep 8, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@vsch
Owner

vsch commented Sep 8, 2017

Conversion from Markdown to docx using docx4j library. Development of this extension is sponsored by Johner Institut GmbH

Progress so far:

  • Paragraph
  • Headings
  • Bold and italic text
  • Tables
    • multiple header rows, column spans, markdown alignments
    • Table captions are not yet supported by docx4j API
  • Ordered and unordered lists
    • restart numbering on a short to do list
  • Images
    • Images get embedded into the document, even remote ones (using http: or https: links)
    • Max Image width property available in options
  • Links
  • Inline Code
  • Fenced Code
  • Block Quotes
  • Strike-through, Subscript, Superscript, Underline (Ins) text

Sample doc:

generated-sample-doc.docx
generated-sample-doc.xml
sample-doc.html
sample-doc.md

@vsch

This comment has been minimized.

Owner

vsch commented Sep 12, 2017

repo updated, maven release in progress.

@vsch vsch closed this Nov 12, 2017

@yaytul

This comment has been minimized.

yaytul commented Mar 13, 2018

Seems a bit confusing to find a simple example of markdown to docx in your examples page.
Can you post the code to convert this md file to docx?

@vsch

This comment has been minimized.

Owner

vsch commented Mar 15, 2018

@yaytul, the documentation for the extension can be found in the wiki: Docx-Renderer-Extension

It also points to working sample code that you can use as a starting point.

The rest, as they say, is left as an exercise for the reader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment