---
title: "Highlighting text ranges with Rich | python"
date: 2022-08-24
published: false
tags:
  - python
template: til
---


{% for year in markata.map("date.year", filter='published')|unique %}

## {{ year }}

{% for post in markata.map('post', filter="published and date.year == "+year|string, sort='date') %}

- [{{ post.title }} - {{ post.date.month }}/{{ post.date.day }}](/{{ post.slug }})
  {% endfor %}
  {% endfor %}
