rf / nd

a documentation viewer for node
MIT License
86 stars 4 forks source link

Code blocks not working #12

Open JoakimLofgren opened 9 years ago

JoakimLofgren commented 9 years ago

I use the gnome-terminal in Ubuntu 14.04 and for me the code blocks are not visible.

I used the npm module for marked and marked-terminal, e.g. in app.js markdisp(data):

  var TerminalRenderer = require('marked-terminal');
  var marked = require('marked').setOptions({
    gfm: true,
    renderer: new TerminalRenderer()
  });

Then the code blocks are visible but not very pretty, although I bet that's an issue with the default options for marked-terminal.