← Back to team overview

rednotebook-users team mailing list archive

Re: Can you guide me while I add a "fixed width" formatting feature, and MathJax capability?

 

Hi Brian,

you're in luck :) Both features are already present in RedNotebook.

You can add fixed-width text by using ``my_function`` or
```
my longer
code
```

Adding Latex-Code that is processed by MathJax is also present, but not considered a "stable" feature (i.e., the syntax may change):

My formula: \[x^2 - y^2\]

Cheers,
Jendrik


Am 18.10.2015 um 18:53 schrieb Brian Merchant:
I mainly use RedNotebook for documenting my progress doing some scientific programming, and I would like to add fixed width formatting, and MathJax capability features.

Fixed width: if I am referring to a function name, I can write: `my_function`, and the back-apostrophes would act as delimiters that mark "my_function" to be formatted using fixed width formatting.

MathJax: if I provide some TeX code delimited by $ signs, (e.g. $x^2 - y^2$), then MathJax renders this output. (https://www.mathjax.org/) I would love to add these features to RedNotebook myself, but would greatly appreciate some help getting familiarized with the source code: where should I be looking in order to make such an addition?

Kind regards,
Brian




References