clojure-cheatsheets icon indicating copy to clipboard operation
clojure-cheatsheets copied to clipboard

some text should not be monospaced

Open uvtc opened this issue 13 years ago • 1 comments

Some text in the tables should probably not be monospaced/code. For example:

  • "Note: always use return value for later changes, never original!"
  • "is namespace for later syms"
  • a couple of places where "(tutorial)" shows up
  • "hex", "oct", "base 2", "base 36"
  • "See also IO/to string"

and so on. Those should be rendered in regular proportonal font.

uvtc avatar Oct 15 '12 13:10 uvtc

Yep, those are a bit hacked in right now. In the data structure from which my code creates the HTML and LaTeX versions, I simply put strings in there for such kinds of "comments", and my code treats them much like it does any other symbols in there. It even tries to look them up in Clojure's symbol table to see if they are symbol names, but fails. It hasn't been a high priority yet for me to try to change their font, since other then the font they look just as I want them to. Maybe I'll take a look at my code to see if I can think of an easy way to change that.

jafingerhut avatar Oct 15 '12 15:10 jafingerhut