marginalia
marginalia copied to clipboard
Ultra-lightweight literate programming for clojure inspired by docco
Looking at `run-marginalia` it seems that it is not possible to specify the output directory in `project.clj`, since `*dir*` is bound based only on the command line arguments.
Your mission, if you choose to accept it is to modify Marginalia (minimally if possible) to fully parse all comments in the Ring sample app at https://github.com/diamondap/ring-sample. Of particular note...
Hiccup is in 1.0 beta and I'm using it on my new project. There are some changes in Hiccup API so marg won't work on such projects
- Getting started - Example - Walk-through - Command-line flags - Moar
Backslashes in docstrings are not output properly and cause the docstring to remain in the code pane.
Marg should be able to parse and output docs for a project's tests. This could be via a flag as it's might not be needed by default. :F
I have a project who's layout looks like: ``` ├── core.clj ├── registers.clj ├── resolvable.clj ├── sets │ ├── lww.clj │ ├── or.clj │ └── two_phase.clj └── sets.clj ``` When...
Reproduce this with Marginalia 0.6.1: (let [y 1] (defn foo "Adds 1 to `x`." [x] (+ x y)) (defn bar "Subtracts 1 from `x`." [x] (- x y))) After a...
Two projects have "rot" for me in the sense I cannot run "lein marg" any longer, and it does not give a very clever error message either. The error I...
A suggestion to look for a :marg property in project.clj to specify an ordering of namespaces to render override, e.g.: :marg [org.foo.z.core org.foo.y.help org.foo.x.util] would result in namespaces being rendered...