node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

tinyosf

tinyOSF.js

a few lines of code to convert OSF to HTML

About

tinyOSF.js is a JavaScript parser for the OpenShownotesFormat.
You can get more informations about OSF at OSF in a Nutshell.
This OSF Parser is used in the following projects:

HowTo

var osfShownotes = '1358966352 Sendungsbeginn #c ...';
var exportMode = 'html';
shownotes = tinyosf.Export(tinyosf.Parser(osfShownotes),osfExportModules[exportMode]);
document.getElementById('parsed').innerHTML = shownotes;

Demo

shownotes.github.io/tinyOSF.js/

License

MIT

Version

0.3.7