Changes the way force_ft works so that it accepts a string, and will set the filetype to the given string value. Keeps the logic in place so that setting it to true while the style is quarto will set the filetype to quarto.
This allows for configuration that mimics jupytext.vim which creates a regular markdown file.
Thanks for the contribution! I had this on a previous commit and then decided against it to make it more automatic and simplify the config but in retrospect I think this is the better choice.
closes #4
Changes the way
force_ft
works so that it accepts a string, and will set the filetype to the given string value. Keeps the logic in place so that setting it to true while the style isquarto
will set the filetype to quarto.This allows for configuration that mimics
jupytext.vim
which creates a regular markdown file.