manual_teachbooks/book/helper_code/intro.md
2025-11-03 17:48:38 +01:00

992 B

Scripts for automating workflow

This chapter contains a few scripts which can be useful in the book-editing process, all of which are scripts and/or files stored in other repositories (they are not Sphinx extensions).

  • LaTeX to markdown conversion to convert a LaTeX file into TeachBook compatible markdown.
  • Snippitall to insert the same code snippet at a certain point in each md file in a specific folder and all subfolder.
  • Snippitonce to insert the same code snippet at a certain point in each md file only in a specific folder.
  • Extensionchecker to identify the kind of files present in subfolder
  • Filedownloader to return the downloadlink for markdown for all files with a specified extension
  • Figreturner to return the markdown code for a figure in a specific extension
  • Figshrinker to compress JPEG images.