markdown
| Kind | kit |
|---|---|
| Categories | parser text-processing web |
| Keywords | markdown html parser gfm commonmark |
Markdown parsing and HTML rendering for Kit
Files
| File | Description |
|---|---|
kit.toml | Package manifest with metadata and dependencies |
src/markdown.kit | CommonMark and GFM parser with HTML rendering |
tests/markdown.test.kit | Headings, lists, tables, and inline formatting tests |
examples/basic.kit | Rendering various markdown elements to HTML |
LICENSE | MIT license file |
Dependencies
No Kit package dependencies.
Installation
kit add gitlab.com/kit-lang/packages/kit-markdown.gitUsage
import Kit.MarkdownLicense
MIT License - see LICENSE for details.
Exported Functions & Types
to-html
Parse markdown and return HTML
String -> Result String
render
Render markdown to HTML, returning string directly (errors become empty)
String -> String
has-markdown?
Check if string contains markdown syntax (including GFM)
String -> Bool