wiki-plugin-literate

Federated Wiki - Literate Plug-in

npm install wiki-plugin-literate
6 downloads in the last week
7 downloads in the last month

Federated Wiki - Literate Plugin

The Literate plugin provides the possibility to specify code chunks ala Literate Programming in a Federated wiki page.

The Tangle plugin will allow to extract the code from Literate wiki pages.

See About Literate Plugin for how-to documentation about this plugin.

See About Plugins for general information about plugins.

Development

When tests will be written, most of the plugin machinery can be tested in node.js at build time.

grunt build

to compile coffeescript and run non-ui tests.

grunt watch
`

to build on updates to plugin or tests.

To Do's

  • [ ] parse NAME and LANG as in reduce plugin instead of requiring them in JSON format in first line of chunk
  • [ ] experiment with using prism.js, or sh or even better highlight.js
  • [ ] keep styling in separate .css
  • [ ] augment chunk title/name with a list of urls to the different parts, i.e. if current chunk is 3, then 1, 2 and 4 are links 1, 2, 3, 4
npm loves you