From 7218fceb771970196f4b8fe14bb910f71f47b4ef Mon Sep 17 00:00:00 2001 From: madrilene Date: Wed, 7 Feb 2024 16:34:38 +0100 Subject: [PATCH] personalize a bit --- src/posts/2022-11-02-markdown.md | 35 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/src/posts/2022-11-02-markdown.md b/src/posts/2022-11-02-markdown.md index 5007c40..992e4f5 100644 --- a/src/posts/2022-11-02-markdown.md +++ b/src/posts/2022-11-02-markdown.md @@ -8,7 +8,7 @@ tags: ['markdown', 'feature'] A lot of markdown packages are installed to help you write your posts. You can configure them in `config/plugins/markdown.js`. -As of my personal preference, there are some presets. For example the automatic conversion of web pages to links (www.lenesaile.com) and the automatic addition of and `rel: 'noopener'` for external links (all links with the pattern`/^https?:/`). +As of my personal preference, there are some presets. For example the conversion of web pages to links (www.lenesaile.com) and the addition of `rel: 'noopener'` for external links (all links with the pattern `/^https?:/`). **This is a tiny pitfall!** Take care to not prefix your internal links with your domain, or else they will be treated ad external as well. To link internally use this pattern: @@ -36,18 +36,20 @@ Soufflé topping shortbread lemon. **The replacement converts this input:** ``` -(c) (C) (r) (R) (tm) (TM) (p) (P) +- -test.. test... test..... test?..... test!.... -!!!!!! ???? ,, -- --- -"Smartypants, double quotes" and 'single quotes' +(c) (C) (r) (R) (tm) (TM) +- +and so on.. and so on... and so on..... AND SO ON???????..... +WTF!!!!!! How many exclamation marks are you going to use???????????? +,, -- --- +"double quotes" and 'single quotes' ``` **To this:** -(c) (C) (r) (R) (tm) (TM) (p) (P) +- -test.. test... test..... test?..... test!.... -!!!!!! ???? ,, -- --- -"Smartypants, double quotes" and 'single quotes' +(c) (C) (r) (R) (tm) (TM) +- +and so on.. and so on... and so on..... AND SO ON???????..... +WTF!!!!!! How many exclamation marks are you going to use???????????? +,, -- --- +"double quotes" and 'single quotes' ## Emphasis @@ -57,15 +59,14 @@ _This is italic text_ ## Blockquote -> rbread. Cheesecake donut marzipan sweet roll icing muffin halvah. Dragée donut cake biscuit pie carrot cake sesame snaps jelly-o gummi bears. Cotton candy cookie croissant fruitcake. +> Cheesecake donut marzipan sweet roll icing muffin halvah. Dragée donut cake biscuit pie carrot cake sesame snaps jelly-o gummi bears. Cotton candy cookie croissant fruitcake. ## Lists ### Unordered lists - Create a list by starting a line with `+`, `-`, or `*` -- Sub-lists are made by indenting 2 spaces: -- Very simple! +- Another item ### Ordered lists @@ -91,11 +92,11 @@ Syntax highlighting ## Tables -| Option | Description | -| ------ | ------------------------------------------------------------------------- | -| data | path to data files to supply the data that will be passed into templates. | -| engine | engine to be used for processing templates. Handlebars is the default. | -| ext | extension to be used for dest files. | +| Technology | Fun fact | +| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| HTML | HTML (Hypertext Markup Language) was created by Sir Tim Berners-Lee in 1991 as a way to structure and link documents on the World Wide Web. | +| CSS | It's called "cascading" because styles can cascade down from parent elements to their children, allowing for inheritance and overriding. | +| JavaScript | TypeError: null is not an object | ## Links