Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@makenowjust/md.html

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@makenowjust/md.html

Markdown inside HTML

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

:memo: md.html

Markdown inside HTML

Build Status

Put the following two magical lines into top of HTML file, then you can write Markdown after this and browser renders Markdown automatically.

<!doctype html><meta charset="utf-8"><script src="https://makenowjust.github.io/md.html/main.js"></script><noscript>
<!-- vim: set ft=markdown: -->

# Hello `md.html` World!

See md.html demo!

Features

  • Don't need preprocessing for rendering Markdown.
  • Render soft breaks as <br>.
  • Emoji support (e.g. convert :memo: to 📝)
  • Set target="_blank" property to external links.
  • Math expression support (inline $...$ and block $$⏎...⏎$$) with KaTeX
  • Set slug id to h1-6 tags and append anchor icon.
  • Syntax highlighting
  • Set title via frontmatter title property.

See examples!

Special Thanks

This project is built with many other packages.

and all other dependencies... Thank you!!

License

MIT (c) 2018 TSUYUSATO "MakeNowJust" Kitsune

FAQs

Package last updated on 30 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc