-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I added support for both Haskell and Clojure (Clojurescript support comes for free with Clojure, because they are almost identical), as well as support for automatically defined anchors in the source code.
I'd like to break backward compatibility in some places, and share my changes with actual Clojure programmers (I'm learning clojure in my free time) to see what they think. Would you mind if I pointed those people to my version while these changes are ready to merge into version 1.0?
The main features I added was support for automatic anchors to sections in which functions are defined. For example, sourcecode
(defn foo [bar]
(...))Adds the invisible anchor to the text part of the section
<a id="code.foo"></a>So that you can refer to this function definition using the markdown extension [|foo @ filename-where-foo-is-defined|] or [|foo|] if foo is defined in the current file.
It is not very good to generate links to methods in a Python class, because it will generate repeated anchors if there are different classes with the same methods. I'll have to change it to go back to the parent section where the class name is defined.
The feature I would like to add is automatically hyperlinked source (with a decent amount of help by the user)