All Projects → kentaro-m → blackfriday-confluence

kentaro-m / blackfriday-confluence

Licence: MIT license
🛠 Blackfriday-Confluence is confluence wiki renderer for the Blackfriday v2 markdown processor.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to blackfriday-confluence

vscode-confluence-markup
Visual Studio Code extension for Confluence® markup
Stars: ✭ 21 (+5%)
Mutual labels:  confluence, confluence-markup
Markdig
A fast, powerful, CommonMark compliant, extensible Markdown processor for .NET
Stars: ✭ 2,730 (+13550%)
Mutual labels:  markdown-parser
Markdown Latex
A markdown parser for converting markdown to LaTeX written in PHP.
Stars: ✭ 40 (+100%)
Mutual labels:  markdown-parser
Proton
A stand-alone application to quickly preview and edit Markdown files using Electron.
Stars: ✭ 140 (+600%)
Mutual labels:  markdown-parser
Gopdf
pdf document generation library
Stars: ✭ 63 (+215%)
Mutual labels:  markdown-parser
Markdown It Py
Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed. Now in Python!
Stars: ✭ 156 (+680%)
Mutual labels:  markdown-parser
Qml Snippet
some qml snippet.
Stars: ✭ 9 (-55%)
Mutual labels:  markdown-parser
ModooCode
Repo for the Modoocode.
Stars: ✭ 42 (+110%)
Mutual labels:  markdown-parser
Parsedown
Better Markdown Parser in PHP
Stars: ✭ 13,959 (+69695%)
Mutual labels:  markdown-parser
Mdtool
A tool which can process markdown to HTML
Stars: ✭ 136 (+580%)
Mutual labels:  markdown-parser
Forum
A fully-fledged modern forum app, including @mention and private messaging, built with Laravel 5.3 and Vue 2.
Stars: ✭ 135 (+575%)
Mutual labels:  markdown-parser
Laravel Smartmd
🎯 A simple markdown editor compatible most markdown parse,You can choose any parse methods on server or client,like Mathematical formula、flowchart、upload image...
Stars: ✭ 76 (+280%)
Mutual labels:  markdown-parser
Showdown
A bidirectional Markdown to HTML to Markdown converter written in Javascript
Stars: ✭ 12,137 (+60585%)
Mutual labels:  markdown-parser
Fresh
上海科技大学新生生存手册 React.js Markdown文档自动生成器
Stars: ✭ 54 (+170%)
Mutual labels:  markdown-parser
Markdown
A Python implementation of John Gruber’s Markdown with Extension support.
Stars: ✭ 2,725 (+13525%)
Mutual labels:  markdown-parser
Markdown
A super fast, highly extensible markdown parser for PHP
Stars: ✭ 945 (+4625%)
Mutual labels:  markdown-parser
Flexmark Java
CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules.
Stars: ✭ 1,673 (+8265%)
Mutual labels:  markdown-parser
Westwind.aspnetcore.markdown
An ASP.NET Core Markdown support library that provides Markdown parsing, a Markdown TagHelper and Markdown Page Handler Middleware
Stars: ✭ 148 (+640%)
Mutual labels:  markdown-parser
SwiftMark
[⚠️Not a complete implementation] A Markdown renderer written in Swift.
Stars: ✭ 77 (+285%)
Mutual labels:  markdown-parser
Frontyaml
YAML Front matter parser
Stars: ✭ 248 (+1140%)
Mutual labels:  markdown-parser

Blackfriday-Confluence

godoc Coverage Status Go Report Card license

Blackfriday-Confluence is confluence wiki renderer for the Blackfriday v2 markdown processor.

Features

Installation

$ go get -u github.com/kentaro-m/blackfriday-confluence

Usage

import (
  bf "github.com/russross/blackfriday/v2"
  bfconfluence "github.com/kentaro-m/blackfriday-confluence"
)

// ...
renderer := &bfconfluence.Renderer{}
extensions := bf.CommonExtensions
md := bf.New(bf.WithRenderer(renderer), bf.WithExtensions(extensions))
input := "# sample text" // # sample text
ast := md.Parse([]byte(input))
output := renderer.Render(ast) // h1. sample text
fmt.Printf("%s\n", output)
// ...

Examples

Input

# Section
Some _Markdown_ text.

## Subsection
Foobar.

### Subsubsection
Fuga

> quote

- - - -

**strong text**
~~strikethrough text~~
[Example Domain](http://www.example.com/)
![](https://blog.golang.org/gopher/header.jpg)

* list1
* list2
* list3

hoge

1. number1
2. number2
3. number3

First Header  | Second Header
------------- | -------------
Content Cell  | Content Cell
Content Cell  | Content Cell

|a  |b  |c  |
|---|---|---|
|1  |2  |3  |
|4  |5  |6  |
package main
import "fmt"
func main() {
    fmt.Println("hello world")
}

Output

h1. Section
Some _Markdown_ text.

h2. Subsection
Foobar.

h3. Subsubsection
Fuga

{quote}
quote

{quote}

----
*strong text*
-strikethrough text-
[http://www.example.com/|Example Domain]
!https://blog.golang.org/gopher/header.jpg!

* list1
* list2
* list3

hoge

# number1
# number2
# number3

||First Header||Second Header||
|Content Cell|Content Cell|
|Content Cell|Content Cell|

||a||b||c||
|1|2|3|
|4|5|6|
{code:language=go}
package main
import "fmt"
func main() {
    fmt.Println("hello world")
}
{code}

Documentation

GoDoc

Contributing

Issue

  • 🐛 Report a bug
  • 🎁 Request a feature

Please use the GitHub Issue to create a issue.

Pull Request

  1. Fork it (https://github.com/kentaro-m/blackfriday-confluence/fork)
  2. Create your feature branch
  3. Run the test ($ go test) and make sure it passed
  4. Commit your changes 📝
  5. Push to the branch
  6. Create a new Pull Request ❤️

Thanks

Blackfriday-Confluence is inspired by Blackfriday-LaTeX.

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