naholyr / github-todos

Git hook to convert your TODOs into Github issues

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

syntax highlighting?

naholyr opened this issue · comments

Ref. lib/todos.js:225

        // TODO syntax highlighting?
        text += "\n\n```\n" + extract + "\n```\n";
      }

(automatically generated by Github-Todos)

Naive proposal : adding file extension next to opening backticks. As far as I tested it seems quite efficient, at least doing the trick for rb, js, html, css, py, c, cpp, md

This issue's description would become:

Ref. lib/todos.js:225

        // TODO syntax highlighting?
        text += "\n\n```\n" + extract + "\n```\n";
      }

(automatically generated by Github-Todos)