gulp-literate
v0.0.3
Published
Markdown files that happen to contain source code
Downloads
4
Readme
gulp-literate
Markdown files that happen to contain source code
Install
$ npm install --save-dev gulp-literate
Example
# Hello World App
This app prints the string "Hello World".
Isn't that **so cool**?
console.log('Hello World!');
main.lit.js
compiles with gulp-literate
to
console.log('Hello World!');
main.lit.js
compiles with gulp-markdown
to
<h1 id="hello-world-app">Hello World App</h1>
<p>This app prints the string "Hello World". Isn't that **so cool**?</p>
<pre><code>console.log('Hello World!');</code></pre>
which, in a browser, looks like
The gulpfile for this example can be found here.