Skip to content

Instantly share code, notes, and snippets.

@thom4parisot
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save thom4parisot/93d0e9fc6364f041a60e to your computer and use it in GitHub Desktop.
Save thom4parisot/93d0e9fc6364f041a60e to your computer and use it in GitHub Desktop.
Asciidoc source code include rendering test
[code,javascript]
----
include::source.js[]
----

is rendered as…

link:source.js[role=include]

but should be rendered as…

module.exports = function(){
  return 42;
};
module.exports = function(){
return 42;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment