Markata

Latest version: v0.8.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.2

default light theme
color_bg_light = 'eefbfe'
color_bg_code_light = 'eefbfe'
color_text_light = '1f2022'
color_link_light = '47cbff'
color_accent_light = 'ffeb00'
overlay_brightness_light = '.95'


All New auto_description plugin

- Cache is busted on plugin change
- plugin is configurable
- plugin now has docs

auto_description Configuration

Open up your `markata.toml` file and add new entries for your
auto_descriptions. You can have multiple desriptions, each one will be named
after the key you give it in your config.

toml
[markata]
hooks=[
"markata.plugins.auto_description",
]

[markata.auto_description.description]
len=160
[markata.auto_description.long_description]
len=250
[markata.auto_description.super_description]
len=500


In the above we will end up with three different descritpions,
(`description`, `long_description`, and `super_description`) each will be the
first number of characters from the document as specified in the config.

auto_descriptions are no longer duplicated

4e299d6 fixes the dedupe issue that was in develop for a while and closes 24

0.8.0

- pydantic support

Pydantic Support

Now plugins are configured through a pydantic Config object.

breaking changes

There are a number of breaking changes going into 0.8.0. Use caution when
upgrading.

glob config is now under markata.glob

diff
- [markata]
- glob_patterns = "pages/**/*.md"
+ [markata.glob]
+ glob_patterns = "pages/**/*.md"


Feeds are now a list

toml
[markata.feeds.published]
template="pages/templates/archive_template.html"
card_template = "pages/templates/feed_card.html"
filter="date<=today and templateKey in ['blog-post', 'til'] and status.lower()=='published'"
sort="date"


> old

toml
[[markata.feeds.published]]
template="pages/templates/archive_template.html"
card_template = "pages/templates/feed_card.html"
filter="date<=today and templateKey in ['blog-post', 'til'] and status.lower()=='published'"
sort="date"


> new

markata.summary.filter_count is now a list

The old way was to set up a dict, where the keys were the name, now its a list
of Objects with an explicit name field.

toml
[markata.summary.filter_count.drafts]
filter="published == 'False'"
color='red'


> Old

toml
[[markata.summary.filter_count]]
name='drafts'
filter="published == 'False'"
color='red'

0.7.4

- Fix: Icon resize broken from PIL 10.0.0 release

0.7.3

- Fix: broken default feed card template
- Fix: broken links for index.md in feeds

0.7.2

- Fix: broken `markata new` command due to pydantic v2 compatability with copier.

0.7.0

- Adopt ruff linter 0.7.0.dev1 142
- add support for markdown_it_py backend 145
- add trogon tui support 0.7.0.dev6

trogon tui support

install with pip

bash
pip install 'markata[tui]'


usage

bash
markata tui

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.