showdown-fogbugz

Showdown extension for outputting code blocks in a format FogBugz understands


Keywords
fogbugz, showdown, markdown
License
MIT
Install
bower install showdown-fogbugz

Documentation

showdown-fogbugz

Showdown extension for outputting code blocks in a format FogBugz understands.

Usage

Include scripts; include Showdown first.

<script src="/path/to/showdown.js"></script>
<script src="/path/to/fogbugz.js"></script>
var converter = new Showdown.converter({extensions: ['fogbugz']}),
  html = converter.makeHtml(some_markdown);

The value of html will be very ugly and it's not worth displaying here, but what it does is tells FogBugz/Kiln to syntax-highlight and line-number the code block when displaying the text you just entered.

Wait, FogBugz supports Markdown?

Not out of the box.

License

MIT

Author

Christopher Hiller