Skip to content

Instantly share code, notes, and snippets.

@not-much-io
Created June 12, 2023 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save not-much-io/daa52dd8206027d78bbdb7859d5aeb59 to your computer and use it in GitHub Desktop.
Save not-much-io/daa52dd8206027d78bbdb7859d5aeb59 to your computer and use it in GitHub Desktop.
id: eir
tasks:
- id: eir::lorebook_install
deps: ['assets::install']
task: |
export finder_root_param="$assets_out"
linker \
"$(finder death_record.ttf)" \
"links/fonts/death_record.ttf" \
"$(finder chalkboard.jpg)" \
"links/images/chalkboard.jpg"
setter eir_lorebook_out "${PWD}"
- id: eir::lorebook_build
deps: ['eir::lorebook_install']
task: |
pandoc --table-of-contents --standalone \
--toc-depth=5 \
--from gfm \
--to html \
--css=lorebook.css \
lorebook.md \
--output lorebook.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment