From 41f747ab473706a8f751cfd88a466d20951bdaaf Mon Sep 17 00:00:00 2001 From: Gusted Date: Fri, 19 Dec 2025 20:10:04 +0100 Subject: [PATCH] Introduction to markdown other style (#724) The linter enforced one style but the introduction should show both styles, add a ignore lint and make it show the other style. Reported-by: @mahlzahn Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/724 Reviewed-by: Bastian Greshake Tzovaras Reviewed-by: Robert Wolff Co-authored-by: Gusted Co-committed-by: Gusted --- content/markdown/introduction-to-markdown.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/content/markdown/introduction-to-markdown.md b/content/markdown/introduction-to-markdown.md index 2c508ed..55aa03c 100644 --- a/content/markdown/introduction-to-markdown.md +++ b/content/markdown/introduction-to-markdown.md @@ -6,6 +6,8 @@ eleventyNavigation: order: 20 --- + + Markdown files are basically normal text files. The file extension `.md` specifies that a file can be rendered as Markdown. You can also use Markdown in many parts of Codeberg (Issues, Pull Requests, etc.). @@ -44,13 +46,15 @@ This gets rendered as This is **bold text**. + ```markdown -This is also **bold text**. +This is also __bold text__. ``` This gets rendered as -This is also **bold text**. +This is also __bold text__. + ### Italics @@ -61,13 +65,15 @@ to get the same effect. Here are a few examples. + ```markdown -This is _italic text_. +This is *italic text*. ``` This gets rendered as -This is _italic text_. +This is *italic text*. + ```markdown This is also _italic text_.