0.0.3 • Published 9 years ago

gulp-literate v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

gulp-literate

Version Downloads

Markdown files that happen to contain source code

Install

$ npm install --save-dev gulp-literate

Example

main.lit.js

# 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

main.js

console.log('Hello World!');

main.lit.js compiles with gulp-markdown to

main.html

<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(&#39;Hello World!&#39;);</code></pre>

which, in a browser, looks like

preview

The gulpfile for this example can be found here.

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago