https://github.com/misprit7/notes-year-2
A repository of my personal notes for second year Engineering Physics at UBC.
https://github.com/misprit7/notes-year-2
Last synced: 6 months ago
JSON representation
A repository of my personal notes for second year Engineering Physics at UBC.
- Host: GitHub
- URL: https://github.com/misprit7/notes-year-2
- Owner: misprit7
- Created: 2020-11-17T04:10:11.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-10T20:57:15.000Z (over 5 years ago)
- Last Synced: 2025-10-17T18:30:55.646Z (10 months ago)
- Size: 2.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Year 2 Notes
These are my notes for second year Engineering at UBC. They were originally on Boostnote before I got fed up of the platform and moved to VSCode markdown.
## Setup
Unfortunately, Github does not support (easily implemented) math markdown equations, so the only way to nicely view these notes is to pull the repo and set up a markdown viewer. I personally use VSCode. To setup, pull the code from github and download VSCode [here](https://code.visualstudio.com/download). Download the Markdown+Math extension and optionally Markdown All in One. Also, open ```settings.json``` (Ctrl+P and type settings.json) and add the following:
```
"mdmath.delimiters": "dollars",
"mdmath.macros": {
"\\R": "\\mathbb{R}",
"\\vek": "{\\begin{pmatrix}#1\\\\#2\\end{pmatrix}}"
}
```
I'll probably add more macros as I realize more helpful shortcuts (this wasn't an option in Boostnote). You should now be able to open all of the notes in the preview pane with beautifully rendered LaTeX math.

## Useful commands I'll forget:
To fix Boostnote export images, run following command in root folder:
```
find . -type f -name '*.md' -exec sed -i 's|(attachments\/[a-z0-9\-]*\/\([a-z0-9]*\).png)|(attachments/\1.png)|' {} +
```