personalize a bit

This commit is contained in:
madrilene 2024-02-07 16:34:38 +01:00
parent 60f7f2723d
commit 7218fceb77

View file

@ -8,7 +8,7 @@ tags: ['markdown', 'feature']
A lot of markdown packages are installed to help you write your posts. A lot of markdown packages are installed to help you write your posts.
You can configure them in `config/plugins/markdown.js`. 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!** **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: 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:** **The replacement converts this input:**
``` ```
(c) (C) (r) (R) (tm) (TM) (p) (P) +- (c) (C) (r) (R) (tm) (TM) +-
test.. test... test..... test?..... test!.... and so on.. and so on... and so on..... AND SO ON???????.....
!!!!!! ???? ,, -- --- WTF!!!!!! How many exclamation marks are you going to use????????????
"Smartypants, double quotes" and 'single quotes' ,, -- ---
"double quotes" and 'single quotes'
``` ```
**To this:** **To this:**
(c) (C) (r) (R) (tm) (TM) (p) (P) +- (c) (C) (r) (R) (tm) (TM) +-
test.. test... test..... test?..... test!.... and so on.. and so on... and so on..... AND SO ON???????.....
!!!!!! ???? ,, -- --- WTF!!!!!! How many exclamation marks are you going to use????????????
"Smartypants, double quotes" and 'single quotes' ,, -- ---
"double quotes" and 'single quotes'
## Emphasis ## Emphasis
@ -57,15 +59,14 @@ _This is italic text_
## Blockquote ## 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 ## Lists
### Unordered lists ### Unordered lists
- Create a list by starting a line with `+`, `-`, or `*` - Create a list by starting a line with `+`, `-`, or `*`
- Sub-lists are made by indenting 2 spaces: - Another item
- Very simple!
### Ordered lists ### Ordered lists
@ -91,11 +92,11 @@ Syntax highlighting
## Tables ## Tables
| Option | Description | | Technology | Fun fact |
| ------ | ------------------------------------------------------------------------- | | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| data | path to data files to supply the data that will be passed into templates. | | 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. |
| engine | engine to be used for processing templates. Handlebars is the default. | | CSS | It's called "cascading" because styles can cascade down from parent elements to their children, allowing for inheritance and overriding. |
| ext | extension to be used for dest files. | | JavaScript | TypeError: null is not an object |
## Links ## Links