Skip to main content

Module scripts

Module scripts 

Source
Expand description

The Scripts sub-tab: script listing, header analysis and save.

Structs§

HeaderFields
What Analyze Header fills in.

Statics§

FILENAME_SLUG 🔒
NON_ALNUM 🔒

Functions§

analyze_script_header
_analyze_script_header(text).
save_script_file
_save_script_file(text, filename): write under scripts/{slug}/ when that directory exists, else scripts/. Never overwrites.
script_choices
_script_choices(): scripts/*/*.md relative to the workspace, else the flat scripts/*.md as absolute paths.