An open API service indexing awesome lists of open source software.

https://github.com/artnum/md-parse

Convert markdown to docx with PHPOffice and custom markdown parser
https://github.com/artnum/md-parse

docx gfm mardown parser php-library php8 phpoffice phpword

Last synced: 10 months ago
JSON representation

Convert markdown to docx with PHPOffice and custom markdown parser

Awesome Lists containing this project

README

          

# md2ooxml

Convert a markdown text into a docx using PHPOffice. Work in progress ...

## Tokenizer and parser

Tokenizer and parser are made in a way to be used independantly and not tied
with the output.

Tokenizer use multibyte string function from PHP so it should support unicode
without any issue.

## Output to docx

Output to docx use custom styles such as `md-block-h1`, `md-block-h2`,
`md-block-quote`, ...so you start with a a template document with all styles
defined within and have your output match the visual design you want.