You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Feature Request
Inline code should be able to be customizable with:
left/right padding - number of spaces to add to the left/right of the inline code
highlighting style - use this pygments style to highlight the inline code
code language used - assume all inline code is this language
Tips
This will involve:
Creating a new schema in lookatme/schemas.py to hold the inline code settings (maybe nested inside a general "code" schema? then it'd be "styles.code.inline.<inline_style>"
Adding the new top-level schema to the main StyleSchema
Adds the ability to enable line numbers in code blocks and highlight lines
Specifically:
* Curly brace attributes on code blocks are now supported
* the theme can now be set in the YAML metadata:
```yaml
---
theme: light
---
```
* a new `styles.code` YAML metadata value can be used:
```markdown
---
styles:
code:
style: zenburn
inline_lang: python
bg_override: "#aabbcc"
---
```
* the `--style` CLI argument is removed (should be replaced by the feature described in #190)
See #164
See #89
Describe the Feature Request
Inline code should be able to be customizable with:
Tips
This will involve:
lookatme/schemas.py
to hold the inline code settings (maybe nested inside a general "code" schema? then it'd be "styles.code.inline.<inline_style>"StyleSchema
Maybe something like this:
Pull Request Target
Be sure to make the
3.0-dev
branch the PR target!The text was updated successfully, but these errors were encountered: