developit / snarkdown

:smirk_cat: A snarky 1kb Markdown parser written in JavaScript
http://jsfiddle.net/developit/828w6t1x/
MIT License
2.25k stars 111 forks source link

Add usage example with PrismJS #83

Open mesqueeb opened 4 years ago

mesqueeb commented 4 years ago

I'd like to request a usage example that takes markdown which includes JS like this example:

  ## Example
  ```js
  console.log(1)
 ```

And then convert with both Snarkdown + PrismJS.

I've tried many things but I'm failing to succeed in this task! 😅

I think the community at large will greatly benefit from an example like this in the readme!

mesqueeb commented 4 years ago

Will make a PR if #85 gets merged.