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

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.

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.

[![Go Report Card](https://goreportcard.com/badge/github.com/sameer/unsafe-markdown)](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!