https://github.com/transpect/markdown2hub
converts Markdown to Hub XML
https://github.com/transpect/markdown2hub
Last synced: 3 months ago
JSON representation
converts Markdown to Hub XML
- Host: GitHub
- URL: https://github.com/transpect/markdown2hub
- Owner: transpect
- License: bsd-2-clause
- Created: 2022-04-22T15:48:02.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-14T09:35:45.000Z (over 1 year ago)
- Last Synced: 2025-07-27T06:40:02.249Z (11 months ago)
- Language: XSLT
- Size: 44.9 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# markdown2hub
converts Markdown to Hub XML. This Readme can be used for testing, too.
## usage
### XSLT
```bash
$ saxon -xsl:xsl/markdown2hub.xsl -it:main href=file:/home/markdown2hub/README.md -o:file.hub.xml
```
### XProc
```bash
$ calabash xpl/markdown2hub.xpl href=README.md debug=yes debug-dir-uri=file:/home/markdown2hub/debug
```
## support
We support Markdown in the CommonMark flavour. Currently, the following elements are implemented:
### section hierarchy
* lists
* images 
* **bold**, _italic_
* [hyperlinks](https://github.com/transpect/markdown2hub)
* horizontal rule
---
> blockquotes
```
program listings
```
tables |
--- |
...
|