wysimark-standalone

Re-packages Wysimark to be used by web components, vue and react in-browser, directly
2,153
Install
npm install wysimark-standalone
Latest Version:1.0.0
Vue:3
License:MIT
Last Updated:Mar 26, 2024
Links: npm
Maintainer: kyr0

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>

Version History

Version Released Vue License
1.0.0 ^3.4.21 MIT