All Projects β†’ 30-seconds β†’ Markdown Builder

30-seconds / Markdown Builder

Licence: mit
1kb Markdown builder for Node.js

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
Imgui markdown
Markdown for Dear ImGui
Stars: ✭ 594 (+786.57%)
Mutual labels:  markdown, library
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
Urlbuilder
Java Builders: URL builder
Stars: ✭ 174 (+159.7%)
Mutual labels:  builder, library
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

Build Status npm bundle size (minified + gzip) npm

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 Content

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