All Projects → vlang → markdown

vlang / markdown

Licence: MIT license
No description, website, or topics provided.

Programming Languages

c
50402 projects - #5 most used programming language
V
68 projects

markdown

Markdown module for V. For now, it uses the md4c library for parsing markdown files to HTML and soon it will be rewritten from scratch to pure V.

Usage

module main
import markdown

fn main() {
    text := '# Markdown Rocks!'
    output := markdown.to_html(text)
    println(output) // <h1>Markdown Rocks!</h1>
}

Installation

Install and use markdown module via VPM:

v install markdown

Or via vpkg:

vpkg get https://github.com/vlang/markdown --global

Or through Git:

git clone https://github.com/vlang/markdown.git ~/.vmodules/markdown

Contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].