30-seconds / Markdown Builder
Licence: mit
1kb Markdown builder for Node.js
Stars: β 67
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Markdown Builder
Java Markdown Generator
Java library to generate markdown
Stars: β 159 (+137.31%)
Mutual labels: builder, markdown, library
React Native Simple Markdown
π React Native Markdown component (iOS & Android).
Stars: β 389 (+480.6%)
Mutual labels: markdown, library
Grabana
User-friendly Go library for building Grafana dashboards
Stars: β 313 (+367.16%)
Mutual labels: builder, library
Create React Library
React NPM library starter kit based on Facebook's create react app
Stars: β 597 (+791.04%)
Mutual labels: library, npm
Semana Js Expert30
Aulas da Semana JS Expert 3.0 - Construindo um chat multiplataforma usando linha de comando e JavaScript Avançado
Stars: β 238 (+255.22%)
Mutual labels: builder, npm
Ngx Smart Modal
Modal/Dialog component crafted for Angular
Stars: β 256 (+282.09%)
Mutual labels: library, npm
Commonmark Java
Java library for parsing and rendering CommonMark (Markdown)
Stars: β 1,675 (+2400%)
Mutual labels: markdown, library
Showdown Htmlescape
Plugin for Showdown to prevent the use of arbitrary HTML and allow only the specific Markdown syntax.
Stars: β 6 (-91.04%)
Mutual labels: markdown, npm
Functions.js
π¦ A hub of numerous functions with various functionalities
Stars: β 22 (-67.16%)
Mutual labels: library, npm
Preppy
A simple and lightweight tool for preparing the publish of NPM packages.
Stars: β 23 (-65.67%)
Mutual labels: library, npm
Zgallery
Android 3rd party library to make implementing galleries more easier
Stars: β 160 (+138.81%)
Mutual labels: builder, library
Length.js
π JavaScript library for length units conversion.
Stars: β 292 (+335.82%)
Mutual labels: library, npm
Blink Mind React
A mind map library for react that based on immutable.js.
Stars: β 38 (-43.28%)
Mutual labels: markdown, library
React Native Blurhash
πΌοΈ A library to show colorful blurry placeholders while your content loads.
Stars: β 430 (+541.79%)
Mutual labels: library, npm
Ifvisible.js
Crossbrowser & lightweight way to check if user is looking at the page or interacting with it.
Stars: β 1,896 (+2729.85%)
Mutual labels: library, npm
React Markdown
Markdown editor (input) based on React
Stars: β 98 (+46.27%)
Mutual labels: markdown, library
Rando.js
The world's easiest, most powerful random function.
Stars: β 659 (+883.58%)
Mutual labels: library, npm
Angular Library Starter Kit
Angular 5 Library Starter Kit based on Angular-CLI
Stars: β 35 (-47.76%)
Mutual labels: library, npm
Markdown builder for Node
Official README builder for the 30-seconds projects.
Usage
npm install --save markdown-builder
Using markdown-builder
is quite easy:
const markdown = require('markdown-builder');
const { headers } = markdown;
headers.hX(3, '3rd Header') // ### 3rd Header
Example
Check out 30-seconds-of-code's READMEs, they are automatically generated using markdown-builder
API
Headers
Use the h1
,h2
,h3
,h4
,h5
,h6
or hX
to generate a markdown header. Calling hX
with a level above 6
returns a h6
Header.
const markdown = require('markdown-builder')
const { headers } = markdown
headers.h1('1st Header') // # 1st Header
headers.h2('2nd Header') // ## 2nd Header
headers.h3('3rd Header') // ### 3rd Header
headers.hX(5, '5th Header using hX') // ##### 5th Header using hX
Emphasis
const markdown = require('markdown-builder')
const { emphasis } = markdown
emphasis.b('bold text')
emphasis.i('italic text')
emphasis.s('strikethrough text')
Lists
const markdown = require('markdown-builder')
const { lists } = markdown
let a = ['Item 1', 'Item 2']
// ordered list
lists.ol(a)
// 1. Item 1
// 2. Item 2
lists.ol(a, (item) => item.toUpperCase()) // use callbacks to alter each item
// 1. ITEM 1
// 2. ITEM 2
// unordered List
lists.ul(a)
lists.ul(a, (item) => item.toUpperCase())
Miscellaneous
const markdown = require('markdown-builder')
const { misc } = markdown
// Images
let alt = 'image of lights', url = 'https://www.w3schools.com/w3css/img_lights.jpg', title = 'lights'
misc.image(alt, url)
misc.image(alt, url, title)
// Collapsible summary/details block
misc.collapsible('Summary', 'content');
// Github Anchor
misc.anchor('A header with /*() special-characters!'); // #a-header-with--special-characters
// Link
misc.link('Github', 'https://github.com/flxwu')
// horizontal rule
misc.hr()
Collapsible:
Summary
ContentA header with /*() special-characters!
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].