From 850e2904e2990e83f0386f5a2bd0e321a0ddb899 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 10 May 2024 11:04:49 +0200 Subject: [PATCH] Add dark mode --- render/templates/README.md | 57 +++++++++++++++++++++++++------------- 1 file changed, 37 insertions(+), 20 deletions(-) diff --git a/render/templates/README.md b/render/templates/README.md index 3520747..2301eb7 100644 --- a/render/templates/README.md +++ b/render/templates/README.md @@ -1,16 +1,19 @@ - -![Logo](assets/idiomatic-rust.png) + + + + [![Check Links](https://github.com/mre/idiomatic-rust/workflows/Check%20Links/badge.svg)](https://github.com/mre/idiomatic-rust/actions/workflows/check_links.yml) This repository collects resources for writing clean, idiomatic Rust code. You can find a sortable/searchable version of this list [here](https://corrode.dev/idiomatic-rust/). -> *Idiomatic* coding means following the conventions of a given language. It is +> _Idiomatic_ coding means following the conventions of a given language. It is > the most concise, convenient, and common way of accomplishing a task in that > language, rather than forcing it to work in a way the author is familiar with > from a different language. - Adapted from [Tim @@ -19,50 +22,65 @@ You can find a sortable/searchable version of this list [here](https://corrode.d Contributions welcome! To add missing resources, [please refer to the contributing documentation](https://github.com/mre/idiomatic-rust/blob/master/CONTRIBUTING.md). ## ⚙ Projects + {% for project in projects %} -* [{{ project.title }}]({{ project.url }}) — {{ project.description }} -{%- endfor %} + +- [{{ project.title }}]({{ project.url }}) — {{ project.description }} + {%- endfor %} ## 🏋 Workshops + {% for workshop in workshops %} -* [{{ workshop.title }}]({{ workshop.url }}) — {{ workshop.description }} -{%- endfor %} + +- [{{ workshop.title }}]({{ workshop.url }}) — {{ workshop.description }} + {%- endfor %} ## 📖 Books + {% for book in books %} -* [{{ book.title }}]({{ book.url }}) — {{ book.description }} -{%- endfor %} + +- [{{ book.title }}]({{ book.url }}) — {{ book.description }} + {%- endfor %} ## 📰 Articles + {% for (year, resources) in articles %} + ### {{ year }} {% for resource in resources -%} -* [{{ resource.title }}]({{ resource.url }}) — {{ resource.description }} -{% endfor %} -{%- endfor %} + +- [{{ resource.title }}]({{ resource.url }}) — {{ resource.description }} + {% endfor %} + {%- endfor %} ## 🎤 Talks + {% for (year, resources) in talks %} + ### {{ year }} {% for resource in resources -%} -* {{ resource.title }} — {{ resource.description }} [[Video]({{ resource.url }})] -{% endfor %} -{%- endfor %} + +- {{ resource.title }} — {{ resource.description }} [[Video]({{ resource.url }})] + {% endfor %} + {%- endfor %} ## 💬 Forum + {% for (year, resources) in forum %} + ### {{ year }} {% for resource in resources -%} -* [{{ resource.title }}]({{ resource.url }}) -{% endfor %} -{%- endfor %} + +- [{{ resource.title }}]({{ resource.url }}) + {% endfor %} + {%- endfor %} ## 📜 History -Coming from Python, I loved the guidelines on how *idiomatic Python* looks like. I was inspired by the likes of Peter Norvig, who wrote amazing articles on [spellcheckers](https://norvig.com/spell-correct.html) and [sudoku solvers](https://norvig.com/sudoku.html); and, of course, the [Zen of Python](https://www.python.org/dev/peps/pep-0020/). For Rust, there is no such thing as the Zen of Python, however, so I started collecting my own resources. +Coming from Python, I loved the guidelines on how _idiomatic Python_ looks like. I was inspired by the likes of Peter Norvig, who wrote amazing articles on [spellcheckers](https://norvig.com/spell-correct.html) and [sudoku solvers](https://norvig.com/sudoku.html); and, of course, the [Zen of Python](https://www.python.org/dev/peps/pep-0020/). For Rust, there is no such thing as the Zen of Python, however, so I started collecting my own resources. The goal of this project is to create a peer-reviewed collection of articles/talks/repos, which teach idiomatic Rust style. It's a community project and you can contribute. ## 🔏 License @@ -71,4 +89,3 @@ The goal of this project is to create a peer-reviewed collection of articles/tal To the extent possible under law, [Matthias Endler](https://endler.dev) has waived all copyright and related or neighboring rights to this work. Logo adapted from [FreePik.com](https://www.freepik.com/free-vector/crabs-pattern-design_1093131.htm). -