From 2242f27c9df213e6535e4b7e671ee0ef0db89f36 Mon Sep 17 00:00:00 2001 From: jashkenas Date: Tue, 19 Dec 2017 13:41:50 -0800 Subject: [PATCH] Fixes #364, clarify that langauges need to be listed in languages.json --- docco.js | 3 ++- docco.litcoffee | 3 ++- index.html | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docco.js b/docco.js index 0bb5a8bc..b0ee5060 100644 --- a/docco.js +++ b/docco.js @@ -27,7 +27,8 @@ // doesn't handle your favorite yet, feel free to // [add it to the list](https://github.com/jashkenas/docco/blob/master/resources/languages.json). // Finally, the ["literate" style](http://coffeescript.org/#literate) of *any* - // language is also supported — just tack an `.md` extension on the end: + // language listed in [languages.json](https://github.com/jashkenas/docco/blob/master/resources/languages.json) + // is also supported — just tack an `.md` extension on the end: // `.coffee.md`, `.py.md`, and so on. // Partners in Crime: diff --git a/docco.litcoffee b/docco.litcoffee index 7b0c31e9..d0344be6 100644 --- a/docco.litcoffee +++ b/docco.litcoffee @@ -25,7 +25,8 @@ Docco can be used to process code written in any programming language. If it doesn't handle your favorite yet, feel free to [add it to the list](https://github.com/jashkenas/docco/blob/master/resources/languages.json). Finally, the ["literate" style](http://coffeescript.org/#literate) of *any* -language is also supported — just tack an `.md` extension on the end: +language listed in [languages.json](https://github.com/jashkenas/docco/blob/master/resources/languages.json) +is also supported — just tack an `.md` extension on the end: `.coffee.md`, `.py.md`, and so on. diff --git a/index.html b/index.html index dc241802..3aacefda 100644 --- a/index.html +++ b/index.html @@ -47,7 +47,8 @@

Docco

doesn’t handle your favorite yet, feel free to add it to the list. Finally, the “literate” style of any -language is also supported — just tack an .md extension on the end: +language listed in languages.json +is also supported — just tack an .md extension on the end: .coffee.md, .py.md, and so on.

Partners in Crime: