From b2b16b273dca005f8e07c7338d5a26b429b66a3b Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Mon, 5 Jul 2021 14:23:02 +0200
Subject: [PATCH] Add snippet on in-text hyperlinks to Markdown help

---
 scipost_django/markup/constants.py | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/scipost_django/markup/constants.py b/scipost_django/markup/constants.py
index 60da4fdea..167a4ac6a 100644
--- a/scipost_django/markup/constants.py
+++ b/scipost_django/markup/constants.py
@@ -321,7 +321,19 @@ which you need to cite [again][md] and [again][md] and [again][md].
 
 The reference will be resolved provided you define the link label somewhere in your text.
 
-[md]: https://daringfireball.net/projects/markdown/syntax""",},
+[md]: https://daringfireball.net/projects/markdown/syntax
+
+### In-text hyperlinks
+
+You can also give ids to elements, and then hyperlink to them. For example,
+the headline
+
+#### You haff to vork feery feeery haaaaart { #work-like-bethe }
+
+can be linked to as follows:
+
+[Work like Bethe](#work-like-bethe).
+""",},
 
     {
         'id': 'mathematics',
-- 
GitLab