Skip to content

albingroen/render-my-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Render My Markdown

Render any markdown through a simple url

Demos

Changelog example

Changelog example

Example usage

const markdown = '# Title'

const url = `https://rmmd.link/?markdown=${encodeURIComponent(markdown)}`

<a href={url}>Share markdown</a>

Query parameters

Name Type Required Default Description
markdown String true undefined A URL encoded markdown string that will be rendered as HTML on the page.
darkMode Boolean false false Setting this to true will render a dark page instead of a light one.
hideBanner Boolean false false Setting this to true will hide the "Shared using render-my-markdown" banner.