d0c-s4vage / lookatme

An interactive, terminal-based markdown presenter
https://lookatme.readthedocs.io/en/latest/
MIT License
2.06k stars 59 forks source link

3.0 - Change the `--style` CLI argument to set styles via dot-notation #190

Open d0c-s4vage opened 1 year ago

d0c-s4vage commented 1 year ago

Describe the Feature Request

The --style CLI argument should use dot notation to set specific fields, optionally as a JSON blob:

Example

lookatme --style code.style=monokai --style code.inline_lang=python

or

lookatme --style code={"style": "monokai", "inline_lang": "python"}

Notes

This would be a breaking change and should go into the 3.0 version of lookatme