Skip to content

aaditmshah/demark

Repository files navigation

Demark

GitHub Workflow Status GitHub license npm semantic-release: gitmoji Twitter

The official Demark language specification and parser.

What is Demark?

Demark, as in demarcate, is a markup meta-language like XML. Just as XML is extended to create other markup languages like SVG, RSS, and Atom, similarly Demark can also be extended to create other markup languages. Unlike XML, Demark is designed for readability and ease of writing. Demark syntax was inspired by LaTeX.

Documentation

  • Introduction to Demark — For beginners who want to learn about Demark syntax and how to write Demark files.
  • Extending Demark — For language designers who want to extend Demark to create a new markup language.
  • API Reference - For programmers looking for documentation on a particular function or TypeScript type.

Installation

You can install @demark/parser using npm.

npm install @demark/parser

You can also install @demark/parser using yarn.

yarn add @demark/parser

Syntax Highlighting

If you're using Visual Studio Code then you can install the Demark Syntax Highlighting extension for syntax highlighting.

Screenshot of Syntax Highlighting for Demark in Visual Studio Code.