based on: https://github.com/kaisugi/marp-theme-academic
feature:
export to html:
npx @marp-team/marp-cli@latest buaa.md -o buaa.html --theme-set ./theme --pdf-outlines --allow-local-files
export to pdf:
npx @marp-team/marp-cli@latest buaa.md -o buaa.pdf --theme-set ./theme --pdf-outlines --allow-local-files
for more commands, see: https://github.com/marp-team/marp-cli
to have a preview in vscode, you could add below to your settings.json
:
{
// ...
"markdown.marp.themes": [
"https://raw.githubusercontent.com/Lincest/BUAA-Marp-Theme/master/theme/buaa_red.css",
"https://raw.githubusercontent.com/Lincest/BUAA-Marp-Theme/master/theme/buaa.css",
"https://raw.githubusercontent.com/Lincest/BUAA-Marp-Theme/master/theme/buaa_blue.css"
],
}