Scripts for automating workflow

Scripts for automating workflow#

This chapter contains a few scripts which can be useful in the book-editing process:

  • LaTeX to markdown conversion to convert a LaTeX file into jupyter-book 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.