Skip to content

toramameseven/markdown-docx

Repository files navigation

Markdown Docx README

This is the README Markdown Docx. This extension converts a markdown file to a Docx or a Pptx (experimental). This uses next two excellent modules.

The document is here

Requirements

  • Windows 10

Features

  • Markdown Docx is a markdown converter to docx.
  • Markdown Docx works for common mark md(s).
  • Click Convert Docx at the context menu on the explore or the editor.
  • In the editor, you can convert only the selection in the text.
  • In the output tab, markdown-docx, the progress and the warns are displayed.

Features(Experimental)

  • Convert a markdown to pptx

markdown vscode settings

like below

  "[markdown]": {
    "editor.wordWrap": "off",
    "editor.quickSuggestions": {
      "other": true,
      "comments": false,
      "strings": false
    },
    "editor.snippetSuggestions": "top"
  },

word template

It is better, set your language font.

template files

You can see the some template in the markdown-docx site templates folder.

  • _with_cover.docx
  • _no_cover.docx (default template)

In these template, you see the placeholder described at next section.

place holder

DOCX type place folder is used.

Next place holders are used in the sample template.

  • main content

    • `{{paragraphReplace}}
    • do not set this other information.

  • for cover

    • {{title}}
    • {{subTitle}}
    • {{author}}
    • {{division}}
    • {{date}}
    • {{docNumber}}

markdown

<!-- word placeholder title "sample document" -->

docx template

{{title}}

{{title}} is replaced to "sample document".

Known Issues

  • Inline math does not work.
  • HTML does not work.
  • Block quote does no work.
  • The indent of table of contents is not good.

How to package

  1. npm install -g vsce
  2. vsce package --target win32-x64
  3. vsce publish

Acknowledgments

We thank for the wonderful npm packages.

Packages

some feature are not active now.

And we use some useful articles below.

Release Notes

  • 0.0.4

    • experimental feature creating pptx.
  • 0.0.3

    • add check box.
  • 0.0.2

    • use DOCX for creating word files.
    • we do not support the vbs rendering on version 0.0.2.
  • 0.0.1

    • first Release.

About

markdown converter to docx

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
license-report-config.json

Stars

Watchers

Forks

Packages

No packages published