wysimark-standalone

1.0.0 • Public • Published

wysimark-standalone

A standalone package to re-bundle Wysimark so that it can be loaded directly from the web, e.g. web components

Example usage

<html>
  <head>
    <script src="https://www.unpkg.com/wysimark-standalone/dist/javascript/index.cjs.js"></script>
  </head>
  <body>
    <div id="editor-container"></div>
    <script>
      const container = document.getElementById("editor-container")
      // createWysimark is available on window now
      const wysimark = createWysimark(container, {
        initialMarkdown: "# Hello World",
      })
    </script>
  </body>
</html>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    254
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    254

Package Sidebar

Install

npm i wysimark-standalone

Weekly Downloads

254

Version

1.0.0

License

MIT

Unpacked Size

42.4 MB

Total Files

21

Last publish

Collaborators

  • kyr0