All Projects → OrangeShark → guile-commonmark

OrangeShark / guile-commonmark

Licence: LGPL-3.0, GPL-3.0 licenses found Licenses found LGPL-3.0 COPYING.LESSER GPL-3.0 COPYING
Implementation of CommonMark for Guile

Programming Languages

scheme
763 projects
M4
1887 projects

Projects that are alternatives of or similar to guile-commonmark

markdig.wpf
A WPF library for xoofx/markdig https://github.com/xoofx/markdig
Stars: ✭ 133 (+329.03%)
Mutual labels:  commonmark
swift-markdownkit
A framework for parsing and transforming text in Markdown format written in Swift 5 for macOS, iOS, and Linux. The supported syntax is based on the CommonMark specification. The framework defines an abstract syntax for Markdown, provides a parser for parsing strings into abstract syntax trees, and comes with generators for creating HTML and attr…
Stars: ✭ 64 (+106.45%)
Mutual labels:  commonmark
CommonMarkEmoji
CommonMark extension adds UTF-8 emoji with Github tag for the `league/commonmark` PHP Markdown parsing engine, based on the CommonMark spec.
Stars: ✭ 17 (-45.16%)
Mutual labels:  commonmark
markdown-it-github-headings
Add anchors and links to headings just like Github does
Stars: ✭ 22 (-29.03%)
Mutual labels:  commonmark
guile-curl
A language binding for the CURL network client library for the Guile version of the Scheme language
Stars: ✭ 23 (-25.81%)
Mutual labels:  guile
front-matter
The most featured front matter (yaml, json, neon, toml) parser and dumper for PHP.
Stars: ✭ 23 (-25.81%)
Mutual labels:  commonmark
markdown
The first generation of Markdown rendering for R (born in 2012). Now R Markdown usually means the *r*markdown package instead of *markdown*. The repo for the former is at https://github.com/rstudio/rmarkdown
Stars: ✭ 64 (+106.45%)
Mutual labels:  commonmark
Publish.jl
A universal document authoring package for Julia.
Stars: ✭ 86 (+177.42%)
Mutual labels:  commonmark
paka.cmark
Lightweight CFFI-based Python bindings to cmark library (CommonMark implementation in C).
Stars: ✭ 23 (-25.81%)
Mutual labels:  commonmark
commonmark-attributes-extension
The Attributes extension adds a syntax to define attributes on the various HTML elements in markdown’s output.
Stars: ✭ 32 (+3.23%)
Mutual labels:  commonmark
markdown-toolbar
A clone of GitHub's markdown toolbar
Stars: ✭ 19 (-38.71%)
Mutual labels:  commonmark
guile-gi
Bindings for GObject Introspection and libgirepository for Guile
Stars: ✭ 49 (+58.06%)
Mutual labels:  guile
laravel-etched-blade
A package that uses blade templates to control how markdown is converted to HTML inside Laravel, as well as providing support for markdown files to Laravel views.
Stars: ✭ 19 (-38.71%)
Mutual labels:  commonmark
homebrew-guile
A Homebrew Tap for Guile libraries and applications.
Stars: ✭ 25 (-19.35%)
Mutual labels:  guile
comark
Comark is CommonMark (Markdown) library for Haxe
Stars: ✭ 14 (-54.84%)
Mutual labels:  commonmark
motion-markdown-it
Ruby/RubyMotion version of Markdown-it (CommonMark compliant parser and extendable)
Stars: ✭ 42 (+35.48%)
Mutual labels:  commonmark
markdom
A markdown parser for laravel for making beautiful html
Stars: ✭ 42 (+35.48%)
Mutual labels:  commonmark
smu
Simple MarkUp - markdown/commonmark like syntax
Stars: ✭ 21 (-32.26%)
Mutual labels:  commonmark
thegreatmarkdown
《了不起的 Markdown》
Stars: ✭ 44 (+41.94%)
Mutual labels:  commonmark
guile-oauth
OAuth module for Guile
Stars: ✭ 19 (-38.71%)
Mutual labels:  guile

guile-commonmark

guile-commonmark is a library for parsing CommonMark, a fully specified variant of Markdown.

Example

(use-modules (commonmark sxml)
             (sxml simple))

(define doc
  "A CommonMark document
=============

1. here is a list
2. with another item

    this is some code

A regular paragraph")

;; Parses the CommonMark.
(define doc-sxml (commonmark->sxml doc))

;; Writes to the current output port
(sxml->xml doc-sxml)

Requirements

Installation

Download the latest tarball and run:

./configure
make
sudo make install

This will install guile-commonmark with the prefix /usr/local/. This is not in the default load path for GNU Guile. You may choose to change the prefix to your GNU Guile's location with ./configure --prefix=/usr or add /usr/local/ to GNU Guile's load path in your .profile or .bash_profile like this (replacing 2.2 with your GNU Guile version):

export GUILE_LOAD_PATH="/usr/local/share/guile/site/2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
export GUILE_LOAD_COMPILED_PATH="/usr/local/lib/guile/2.2/site-ccache${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_COMPILED_LOAD_PATH"

To build from git requires Autoconf and Automake.

./bootstrap
./configure
make
make install

To install from a recent version of git using Guix.

guix package -f guix.scm

License

LGPLv3 or later. See COPYING.LESSER and COPYING

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