Change prompt symbol in comments from $ to %. Close #334.#335
Conversation
|
Historically, |
|
Yes, I had mixed feelings about that, but I thought that was |
|
|
|
@tomjakubowski Of course! All this JavaScript digging softened my brain… Thanks! |
|
@steveklabnik Is it ok for you if I close this one and submit another with |
|
You don't need to close, just force push to your |
|
Done! (thanks!) |
|
What happened in this PR? The "files changed" tab is now empty and a no-op was merged by hand into master or something? |
No, it wasn't. If you look the latest commits, the last action was me merging #340 via the web interface.
I have no idea. It seems that for some reason (quantum entanglement? :P) when I merged #340, this one got closed (well, merged as a no-op) at the same time. @dbbrian Could you please send a new PR? Preferably from a different branch. |
|
Done. I probably |
Kramed, gitbook’s Markdown parser, see the dollar signs in the comments of fs.rs as
MathJaxdelimiters:Disabling MathJax, as it is not used, in book.json as mentionned here...
{ "plugins": ["-mathjax", "rust-playpen"], "pluginsConfig": { "rust-playpen": {} } }...don’t work. The library is not loaded anymore, but the setting is not passed to
kramed. Disabling MathJax by hand in kramed.js does, but is obviously impractical, and dirty.MathJax does allow to change delimiters but the
$$pattern is hard-coded in a regex inside kramed.js.I suggest we just change the
$s to#s. That way we’ll keep the semantic that code in comments are inside backticks, which is good, and used in other examples.