From 6f2a1fe0aa5f967dc4c73e2442eb6a67fa7866c1 Mon Sep 17 00:00:00 2001 From: Isaac Mills Date: Tue, 23 Apr 2024 09:09:30 -0400 Subject: [PATCH] Test inline code highlighting --- src/how_to_run_a_journal.dj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/how_to_run_a_journal.dj b/src/how_to_run_a_journal.dj index 14a12ae..5413bfb 100644 --- a/src/how_to_run_a_journal.dj +++ b/src/how_to_run_a_journal.dj @@ -4,6 +4,8 @@ Hi! I'm Isaac Mills, I'm the guy managing the infrastructure behind Compute! In ## Plain text +`fn main() { println!("Hello World!") }`{lang=rust} + Plain text is as simple as it gets, yet it can be an extremely powerful tool. It's capable of being anything, and can also be transmuted into anything. Its infinite extensibility makes it a formidable tool that every developer should have in their arsenal. For our case, we use a lot of plain text. In fact, the article you're reading right now is written in plain text, _not with some web UI_. A while back, I found a markup language called [djot](https://djot.net). It was created by the same person who created CommonMark, a flavor of markdown, to be easier to parse and more featureful. Below is some example djot ```djot