UNPKG

shnippet

Version:

A snippet extraction tool for various programming languages.

8 lines (7 loc) 231 B
// Example file with a malformed snippet (missing end tag) //:snippet-start: malformed function test() { console.log('This snippet has no end tag'); } // This is just a regular comment // The snippet above is missing its end tag