npm init -y
Create a folder called src and add an empty index.js file. The code that webpack compiles goes in here including any Javascript modules and the main Tailwind file.
| var PUNCTUATION = "" + | |
| "’'" + // apostrophe | |
| "()[]{}<>" + // brackets | |
| ":" + // colon | |
| "," + // comma | |
| "‒–—―" + // dashes | |
| "…" + // ellipsis | |
| "!" + // exclamation mark | |
| "." + // full stop/period | |
| "«»" + // guillemets |
| /* | |
| You can use this to convert a DOM element or a HTML string to markdown. | |
| Usage examples: | |
| var markdown = toMarkdown(document.getElementById("content")); | |
| // With jQuery you can easily convert HTML strings | |
| var markdown = toMarkdown($("<ul><li>Hi!</li></ul>")[0]); |