pub const TMPL_FROM_CLIPBOARD_YAML_FILENAME: &str = "\
{%- set tag = fm_sort_tag | default(value = now() | date(format='%Y%m%d')) -%}
{{ fm_title | sanit | prepend(with_sort_tag=tag) }}\
{{ fm_subtitle | default(value='') | sanit | prepend(with='--') }}\
{{ fm_file_ext | default(value = extension_default ) | prepend(with='.') }}\
";
Expand description

Default filename template used when the stdin or the clipboard contains a string and one of them has a valid YAML header.