Skip to content

davekinkead/literati

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Literati

A literate programming helper in Javascript.

Usage

Require Literati to parse any indented code blocks in a text file a la markdown (4+ spaces or 1+ tab).

const my_module = require('literati')('./my_module')

Future Features (one day...)

  • [] Parse ticked and named codeblocks

  • [] Access Literati as an object programatically

    const Literati = require('literati')
    
  • [] Specify what languages to extract from ticked

    Literati.read('./filename', {only: ['javascript', 'shell'], inline: true})
    
  • [] Run it via CLI

    $ cat readme.md | literati -js | node
    

Copyright 2017 Dave Kinkead. Released under the MIT License.

About

A literate programming helper in javascript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published