Updates to cooklang parser 0.15.0
, this includes many small improvements and
some changes to the language. See the [parser changelog] from 0.13
to 0.15
to see the changes. Major things you neeed to worry about are:
- If you used a custom extensions config in your recipe collection, you may need to update it because some extensions have been removed (always enabled) and some renamed.
- The metadata now uses a YAML frontmatter, you will get a warning if you use
the old style. You can't mix both styles of metadata, when you use a
frontmatter the old style syntax will be disabled. Config keys like
>> [mode]: ...
will still use the old style and are not metadata anymore.
New features this enables:
- The YAML frontmatter for metadata.
- Now all inline quantities are detected and can be converted at your will, not only temperature.
This release is the last one before updating cooklang with spec changes. It includes a variety of small fixes and improvements.
- Improve number formatting in the web ( @StarDylan #30 )
- Expand search bar capabilities ( @kaylee-kiako #32 )
- Fixes related to real time file system updates ( @kaylee-kiako #39 )
- Fix
VISUAL
and/orEDITOR
env vars that were ignored. ( #26 )
- Add more markdown customization to change all hard coded words.
- Add
--config
global arg to override theconfig.toml
file used.
- Don't allow
serve
orlist
to run outside a collection to avoid unwanted recipe indexing. - Add
--force
arg tolist
to force it to run outside a collection.