Constant TMPL_VAR_FM_FILE_EXT

Source
pub const TMPL_VAR_FM_FILE_EXT: &str = "fm_file_ext";
Expand description

By default, the template tmpl.sync_filename defines the function of this variable as follows: Contains the value of the front matter field file_ext and determines the markup language used to render the document. When the field is missing the markup language is derived from the note’s filename extension.

This is a dynamically generated variable originating from the front matter of the current note. As all front matter variables, its value is copied as it is without modification. Here, the only special treatment is, when analyzing the front matter, it is verified, that the value of this variable is registered in one of the filename.extensions_* variables.