Windows | Linux
Notes Maker converts your Markdown notes into professional-looking LaTeX PDFs automatically.
- Prerequisites
- Installation
- VS Code Setup
- Usage
- Changing Default Values
- Changing the University Logo
- Updating Notes Maker
- Uninstallation
Before starting, make sure you have the following:
Download and install it from python.org. Preferably, between versions 3.10 and 3.13 inclusive.
Check installation:
python --version; python -m pip --versionDownload from code.visualstudio.com.
Check installation:
code --versionInstall the Command Runner extension for VS Code.
Download and install Node.js from nodejs.org.
Check installation:
node --version; npm --versionNote
If you're having trouble running npm --version, you may need to change the execution policy. Run this command:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSignedOpen PowerShell (Terminal on Windows 11) and run these commands:
Caution
Do not run as Administrator
wget "https://github.com/rstudio/tinytex-releases/releases/download/daily/TinyTeX-1.zip" -OutFile "$env:TEMP\TinyTeX.zip"
Expand-Archive -Force -Path "$env:TEMP\TinyTeX.zip" -DestinationPath $env:APPDATA
Remove-Item "$env:TEMP\TinyTeX.zip"
$Tlmgr = "$env:APPDATA\TinyTeX\bin\windows\tlmgr.bat"
Invoke-Expression "${Tlmgr} path add"
Invoke-Expression "${Tlmgr} option repository ctan"
Invoke-Expression "${Tlmgr} postaction install script xetex"tlmgr install adjustbox amsfonts amsmath booktabs csvsimple endnotes etoolbox fancyhdr float fontspec footmisc geometry grfext hyperref hyphenat lineno listings lua-ul luaotfload markdown minted paralist pdfcol soul tcolorbox tikzfill titlesec titling tocloft ulem upquote xcolorpython -m pip install Pygmentswget https://github.com/abdxdev/notes-maker/archive/refs/heads/main.zip -OutFile "$env:APPDATA\main.zip"
Expand-Archive -Force -Path "$env:APPDATA\main.zip" -DestinationPath "$env:APPDATA"
Remove-Item "$env:APPDATA\main.zip"npm install -g @mermaid-js/mermaid-cli-
Open VS Code and press
Ctrl + Shift + P. -
Search for Preferences: Open User Settings (JSON) and open it.
-
Add this to the bottom of your
settings.jsonfile just before the closing}: -
Save the file.
- Open any folder in VS Code.
- Create a new Markdown file (for example,
report.md). - Add your content. Visit the Markdown Guide for syntax help.
- Press
Ctrl + Shift + Rand select Build LaTeX Document. - After a few moments, the PDF will be generated along with a
.jsonmetadata file. Edit this file to change document settings like title, university, and date. - Re-run the build command from step 4 to generate the updated PDF.
Note
You may delete the build folder (_build_report in this case) after the PDF is finalized.
You can edit the default settings for document generation by modifying the default.json file.
Run this command to open it in VS Code:
code $env:APPDATA\notes-maker-main\default.jsonEdit values such as the university name, department, title, and other settings.
The next time you generate a document, it will use the updated defaults.
To replace the default logo, open the script directory:
explorer $env:APPDATA\notes-maker-main\Replace the existing uni-logo.pdf file with your logo file (use the same name).
To update Notes Maker, run these commands in PowerShell:
Remove-Item "$env:APPDATA\notes-maker-main" -Recurse -Force
wget https://github.com/abdxdev/notes-maker/archive/refs/heads/main.zip -OutFile "$env:APPDATA\main.zip"
Expand-Archive -Path "$env:APPDATA\main.zip" -DestinationPath "$env:APPDATA"
Remove-Item "$env:APPDATA\main.zip"Install latex packages from step 2 of the installation section.
tlmgr path remove
Remove-Item "$env:APPDATA\TinyTeX" -Recurse -ForceNote
Microsoft Edge may lock certain files related to the uninstallation process if it is running in the background.
To avoid issues, open Task Manager, locate "Microsoft Edge" under the "Processes" tab, and select "End Task" before proceeding.
Remove-Item "$env:APPDATA\notes-maker-main" -Recurse -Force