All Projects → NoMoreDeps → marksjs

NoMoreDeps / marksjs

Licence: MIT license
Markup language and rendering engine mostly compatible with Markdown

Programming Languages

typescript
32286 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to marksjs

media
Press kit / Media pack for OpenFaaS
Stars: ✭ 44 (+37.5%)
Mutual labels:  marks
Quizzie
Open Sourced Quiz Portal which can be used for any event / competition with a custom leaderboard.
Stars: ✭ 31 (-3.12%)
Mutual labels:  marks
TeamGames
Sourcemod plugin providing team based games for prisoners and some useful things for wardens.
Stars: ✭ 16 (-50%)
Mutual labels:  marks

Unleash the Power of a New kind of Markdown

{ Marks }

Marks is a markup language and a renderer that aims to keep the simplicity of Markdown,
and brings a world of possibilities by removing its limits...

Discover it on its official website Marks Website.

Marks is almost compatible with Markdown, but brings more flexibility using styles, and allows the creation of custom components in an universal and easy way.

CI

Installation

# With npm
npm i -S @marks-js/marks

# With yarn
yarn add @marks-js/marks

Marks comes with Typescript declaration files, so you don't need to install separated definition.

Get started

Minimal setup

// Import the minimal set of Objects
import { MarksRenderer, Plugins } from "@marks-js/marks";

// Create a new instance of Marks renderer
const marks = new MarksRenderer();

// Register the default plugins in order to make it work
marks.registerRenderers(
  ...Plugins().map(_ => new _()), 
);

const htmlNode = marks.render(` Marks code here `);
document.querySelector("#MoutingPoint").appendChild(htmlNode);

// Alternaticely, you can pass the node as a second parameter
marks.render(` Marks code here `, document.querySelector("#MoutingPoint"));

Marks is compatible with almost Markdown syntax, so what is cool in Markdown, is still available in Marks. But Marks allows you to add styles, so it is now possible to have a page written in Marks with css.

For full documentation please see it on Marks website or Marks documentation

Extra plugins and themes will be available soon.

To test it in live, go to the Playground.

Marks website is In Progress, so keep an eye on it.

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