Frequently Asked Questions¶
How to specify customized MathJax script?¶
VNote supports a configuration
You could download the MathJax (howto) and specify a local copy of the MathJax to use, like
You could also specify customized script in GUI settings dialog:
- Need to prepend
file://to the local path;
- Using local path may get the fonts wrong. I think a better way is to run a light HTTP server locally.
How to make VNote more “portable”?¶
VNote will read and store configuration files in the common directory of the operating system to store application data. If you prefer to put these configuration files along with the VNote executable, you coulud copy or create the
vnote.ini file in the directory containing VNote executable. VNote will first try to read
vnote.ini from where the executable exists.
However, please notice that VNote will store the notebook’s path in the configuration file, so it may read a wrong path and complain about errors if you copy VNote to another computer.
How to draw diagrams using Mermaid or Flowchart.js?¶
- Re-open opened tabs to let it take effect;
- For Mermaid, write a fenced code block specified with language
- For Flowchart.js, write a fenced code block specified with language
```mermaid graph TD; A-->B; A-->C; B-->D; C-->D; ```
```flowchart st=>start: Start:>http://www.google.com[blank] e=>end:>http://www.google.com op1=>operation: My Operation sub1=>subroutine: My Subroutine cond=>condition: Yes or No?:>http://www.google.com io=>inputoutput: catch something... st->op1->cond cond(yes)->io->e cond(no)->sub1(right)->op1 ```
How to open a note in another tab?¶
Single click to open a note in current tab is enabled, single-click in the note list to open the note in current tab, while double-click to open it in a new tab.