personalize a bit
This commit is contained in:
parent
60f7f2723d
commit
7218fceb77
1 changed files with 18 additions and 17 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue