From a4de7e6d4e67032c22d04a8b694ac2d2d9a7b212 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Wed, 10 Aug 2022 17:09:32 +0200 Subject: [PATCH] Faulty code looks great --- projects/homepage.adoc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/projects/homepage.adoc b/projects/homepage.adoc index 6145211..9c914c5 100644 --- a/projects/homepage.adoc +++ b/projects/homepage.adoc @@ -1,5 +1,5 @@ :experimental: -:docdatetime: 2022-02-06T15:39:44.973Z +:docdatetime: 2022-08-10T17:09:32+02:00 = c0ntroller.de @@ -84,3 +84,13 @@ kbd:[Ctrl+C] * `#{link text|url}` is parsed to a link - Project logs are loaded dynamicly. They can be updated at any time. - There are lots of eastereggs. Some are for specfic people, some for me and some for fun. +- I made some custom annotations for code blocks show faulty code (wrong syntax/will not compile/etc.). + +[source.notCompiling, rust] +---- +// This is how a faulty code block looks like +fn main() { + let x = 5; + x = 6; +} +----