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
- Host: GitHub
- URL: https://github.com/artnum/md-parse
- Owner: artnum
- License: mit
- Created: 2024-10-18T07:51:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-04T15:54:30.000Z (over 1 year ago)
- Last Synced: 2025-02-14T14:51:07.367Z (12 months ago)
- Topics: docx, gfm, mardown, parser, php-library, php8, phpoffice, phpword
- Language: PHP
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.