Need help with zenn-editor?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

zenn-dev
279 Stars 45 Forks 906 Commits 9 Opened issues

Description

Convert markdown to html in Zenn format

Services available

!
?

Need anything else?

Contributors list

Zenn Editor

CLI Documentation

Use on your website

  1. Convert markdown to html with
    zenn-markdown-html
    .
import markdownHtml from 'zenn-markdown-html';

const html = markdownHtml(markdown);

  1. Import styles for content.
import 'zenn-content-css';
  1. Enable web-components for embedding.

Some embedded contents such as Tweet, Gist are made with Web Components. To enable these contents embedded, import

zenn-embed-elements
on client.
// with React
useEffect(() => {
  import('zenn-embed-elements');
});

Note that

zenn-embed-elements
is not working with SSR.

Contributors

Licence

MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.