From f652dbfde6e2b23b040c911cb93f57bb87ea5065 Mon Sep 17 00:00:00 2001 From: Orest Ivasiv Date: Fri, 10 Nov 2023 19:58:27 +0100 Subject: [PATCH] upd markdown.md - folded text --- docs/wiki/howtos/markdown.md | 58 +++++++++++++++++++++++++++++++++++- mkdocs.yml | 5 +--- 2 files changed, 58 insertions(+), 5 deletions(-) diff --git a/docs/wiki/howtos/markdown.md b/docs/wiki/howtos/markdown.md index 4d21e63..c13a02e 100644 --- a/docs/wiki/howtos/markdown.md +++ b/docs/wiki/howtos/markdown.md @@ -5,10 +5,66 @@ tags: # Markdown +## README samples + +- [stkeky/best-of-scala](https://github.com/stkeky/best-of-scala/blob/main/README.md) A ranked list of awesome Scala projects. It is based on [best-of-lists/best-of-generator](https://github.com/best-of-lists/best-of-generator). + ## Basic syntax See [Markdown Guide](https://www.markdownguide.org/basic-syntax/#code). +## Folded text + +```` +```markdown +
+ +sbt (🥇33 · ⭐ 4.7K) - sbt, the interactive build tool. + + Apache-2 + + + [MIT](http://bit.ly/34MBwT8) + + + + + + +- [GitHub](https://github.com/sbt/sbt) (👨‍💻 410 · 🔀 920 · 📥 12M · 📋 4.1K - 18% open · ⏱️ 02.11.2023): + + ``` + git clone https://github.com/sbt/sbt + ``` +
+``` +```` + +!!! example + +
+
+ + sbt (🥇33 · ⭐ 4.7K) - sbt, the interactive build tool. + + Apache-2 + + + [MIT](http://bit.ly/34MBwT8) + + + + + + + - [GitHub](https://github.com/sbt/sbt) (👨‍💻 410 · 🔀 920 · 📥 12M · 📋 4.1K - 18% open · ⏱️ 02.11.2023): + + ``` + git clone https://github.com/sbt/sbt + ``` +
+
+ ## Links at the bottom of the text ```markdown @@ -21,7 +77,7 @@ See [Markdown Guide](https://www.markdownguide.org/basic-syntax/#code). ## Table with code blocks -Actually there is no simply solution and you should insert plain HTML table. +Actually there is no simple solution and you should insert plain HTML table. ```` diff --git a/mkdocs.yml b/mkdocs.yml index afc51fc..263c755 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -67,10 +67,7 @@ markdown_extensions: - pymdownx.mark - pymdownx.superfences - pymdownx.tilde -- pymdownx.highlight: - # Bad idea, b/c some code blocks shouldn't have title and line-nums - # auto_title: true - # linenums: true +- pymdownx.highlight - mdx_truly_sane_lists - tables - attr_list