All Projects → hey-red → Markdown

hey-red / Markdown

Licence: mit
Open source C# implementation of Markdown processor, as featured on Stack Overflow.

Programming Languages

csharp
926 projects

Labels

Projects that are alternatives of or similar to Markdown

Startblog
Startblog is a simple Markdown blog system based on the CodeIgniter!
Stars: ✭ 107 (-6.14%)
Mutual labels:  markdown
Mdline
Markdown timeline format and toolkit.
Stars: ✭ 111 (-2.63%)
Mutual labels:  markdown
Goreadme
Generate readme file from Go doc. Now available with Github actions!
Stars: ✭ 113 (-0.88%)
Mutual labels:  markdown
Prettier
Prettier is an opinionated code formatter.
Stars: ✭ 41,411 (+36225.44%)
Mutual labels:  markdown
Pip Licenses
Dump the license list of packages installed with pip.
Stars: ✭ 110 (-3.51%)
Mutual labels:  markdown
Md
✍ 一款高度简洁的微信 Markdown 编辑器:支持 Markdown 所有基础语法、色盘取色、一键复制并粘贴到公众号后台、多图上传、一键下载文档、自定义 CSS 样式、一键重置等特性
Stars: ✭ 2,242 (+1866.67%)
Mutual labels:  markdown
Ipfs.ink
PROJECT HAS BEEN SHUTDOWN - Publish and render markdown essays to and from ipfs
Stars: ✭ 106 (-7.02%)
Mutual labels:  markdown
Language Markdown
Add support for Markdown to Atom (including Github flavored, Markdown Extra, CriticMark, YAML/TOML front-matter, and R Markdown), and smart behavior to lists.
Stars: ✭ 113 (-0.88%)
Mutual labels:  markdown
Keyboard
⌨ Toward a more useful keyboard
Stars: ✭ 1,522 (+1235.09%)
Mutual labels:  markdown
Embedme
Utility for embedding code snippets into markdown documents
Stars: ✭ 113 (-0.88%)
Mutual labels:  markdown
Jekyll
🌐 Jekyll is a blog-aware static site generator in Ruby
Stars: ✭ 43,803 (+38323.68%)
Mutual labels:  markdown
Pandiff
Prose diffs for any document format supported by Pandoc
Stars: ✭ 110 (-3.51%)
Mutual labels:  markdown
Docs Cn
OpenTelemetry Markdown中文文档: 接入使用、技术标准、RFC、SDK等. 中文网站:https://ot.md
Stars: ✭ 109 (-4.39%)
Mutual labels:  markdown
Imgurl
ImgURL是一个简单、纯粹的图床程序,让个人图床多一个选择。
Stars: ✭ 1,474 (+1192.98%)
Mutual labels:  markdown
Catalog
Create living style guides using Markdown or React
Stars: ✭ 1,527 (+1239.47%)
Mutual labels:  markdown
Angular Markdown Editor
Angular Markdown Editor. All-in-one Markdown Editor and Preview
Stars: ✭ 106 (-7.02%)
Mutual labels:  markdown
Ankdown
Easily make Anki flash cards in markdown
Stars: ✭ 111 (-2.63%)
Mutual labels:  markdown
Graphql Markdown
The easiest way to document your GraphQL schema.
Stars: ✭ 114 (+0%)
Mutual labels:  markdown
Terminal markdown viewer
Styled Terminal Markdown Viewer
Stars: ✭ 1,565 (+1272.81%)
Mutual labels:  markdown
Kulfon
👹 🐸 JavaScript static site generator with Org Mode & Markdown support (α) 💥
Stars: ✭ 112 (-1.75%)
Mutual labels:  markdown

This is legacy project. Use Markdig instead.

Markdown for C#

licence badge stars badge forks badge issues badge

Open source C# implementation of Markdown processor, as featured on Stack Overflow.

This port is based heavily on the original Perl 1.0.1 and Perl 1.0.2b8 implementations of Markdown, with bits and pieces of the apparently much better maintained PHP Markdown folded into it. There are a few Stack Overflow specific modifications (which are all configurable, and all off by default). I'd like to ensure that this version stays within shouting distance of the Markdown "specification", such as it is...

Install

via NuGet:

PM> Install-Package Markdown

Usage

using HeyRed.MarkdownSharp;

// Create new markdown instance
Markdown mark = new Markdown();

// Run parser
string text = mark.Transform(text);

Options

var options = new MarkdownOptions 
{
    AutoHyperlink = true,
    AutoNewlines = true,
    LinkEmails = true,
    QuoteSingleLine = true,
    StrictBoldItalic = true
}

Markdown mark = new Markdown(options);
mark.Transform(text);

See more options and docs in MarkdownOptions

Extensions

using HeyRed.MarkdownSharp;
using YourMarkdownExtension.Extension;

Markdown mark = new Markdown();

mark.AddExtension(new Extension());

mark.Transform(text);

To create your own extensions you need to implement IMarkdownExtension.

Markdown Syntax

Markdown: Syntax Daring Fireball

License

MIT

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].