https://github.com/sameer/unsafe-markdown
Regexp-based Markdown to Html Converter. Expects input text to already be sanitized.
https://github.com/sameer/unsafe-markdown
Last synced: 12 months ago
JSON representation
Regexp-based Markdown to Html Converter. Expects input text to already be sanitized.
- Host: GitHub
- URL: https://github.com/sameer/unsafe-markdown
- Owner: sameer
- License: mit
- Created: 2018-01-06T02:27:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-22T05:01:10.000Z (about 8 years ago)
- Last Synced: 2025-04-02T11:54:19.131Z (12 months ago)
- Language: Go
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# unsafe-markdown
A Regexp-based Markdown to Html Converter that expects input text to have already been sanitized.
Ideal for use in simple conversions where the output can be verified / is not critical.
[](https://goreportcard.com/report/github.com/sameer/unsafe-markdown)
**Code Coverage: 90.9%**
### Supported Markdown Syntax:
* Bolding
* Italics
* Strikethrough
* Headers
* Blockquotes
* Images
* Links
* Linebreaks (all kinds specified by Unicode standard)
* Code tag (single line only)
### Known Issues
* No unordered/ordered list support
* No multi-line support
* The repeating nature of the converter means that some nested Markdown syntax cases will be converted
* Undefined behavior for some edge cases
* Not enough tests!