To make a space for assets related to each pattern, e.g. the main illustration, I am moving each pattern into a subdirectory.
All markdown files are now named index.md. If this creates usability issues for library editors it's possible to find a solution for this later. For now, I suggest to do it like this.
Illustrations can now be added to each pattern just by adding a file named illustration.svg into the folder of a pattern. C.f. example in social-radius-slider.
edit: I squeezed in something else here: links to patterns in the markdown files that are formatted like [[wiki links]] will be turned into links to the respective patterns and appear in the "related patterns" section in https://github.com/simplysecure/dots-website/pull/79.
To make a space for assets related to each pattern, e.g. the main illustration, I am moving each pattern into a subdirectory.
All markdown files are now named
index.md
. If this creates usability issues for library editors it's possible to find a solution for this later. For now, I suggest to do it like this.Illustrations can now be added to each pattern just by adding a file named
illustration.svg
into the folder of a pattern. C.f. example insocial-radius-slider
.edit: I squeezed in something else here: links to patterns in the markdown files that are formatted like
[[wiki links]]
will be turned into links to the respective patterns and appear in the "related patterns" section in https://github.com/simplysecure/dots-website/pull/79.