res:plugins:markdown
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
res:plugins:markdown [2019/12/31 21:25] – created arvid | res:plugins:markdown [2024/02/11 14:56] (current) – [emphasis] fraenkiman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Markdown Plugin ====== | ====== Markdown Plugin ====== | ||
- | Provides | + | Author: |
+ | ===== Description ===== | ||
+ | Provides [[http:// | ||
- | ===== Download ===== | + | It is safe to use markdown |
- | Get it directly from GitHub: https:// | + | |
+ | Markdown can process HTML as is. That’s why you don’t need to disable BBcode plugin. | ||
===== Usage ===== | ===== Usage ===== | ||
- | When the plugin is actived, both BBCode and Markdown syntax will be parsed: | + | When the plugin is activated, both BBCode and Markdown syntax will be parsed: |
< | < | ||
**And this also is (by Markdown)**</ | **And this also is (by Markdown)**</ | ||
Line 15: | Line 16: | ||
**This is bold (by BBCode)**\\ | **This is bold (by BBCode)**\\ | ||
**And this also is (by Markdown)** | **And this also is (by Markdown)** | ||
+ | |||
+ | ===== Download ===== | ||
+ | {{res: | ||
+ | |||
+ | Get it directly from GitHub: https:// | ||
+ | |||
+ | ===== Markdown syntax ===== | ||
+ | ==== Headers (Setext) ==== | ||
+ | < | ||
+ | =============== | ||
+ | |||
+ | This is an H2 | ||
+ | --------------- </ | ||
+ | |||
+ | ==== Headers (atx) ==== | ||
+ | < | ||
+ | |||
+ | ## This is a H2 | ||
+ | |||
+ | ###### This is a H6 | ||
+ | |||
+ | # This is a H1 # | ||
+ | |||
+ | ## This is a H2 ## | ||
+ | |||
+ | ### This is a H3 ###### </ | ||
+ | |||
+ | ==== Quotes ==== | ||
+ | < | ||
+ | > consectetuer adipiscing elit. I have decided to | ||
+ | a policeman. Vestibulum enim visi, viverra nec, fringilla in, laoreet | ||
+ | > vitae, risus. | ||
+ | >> | ||
+ | Until then, it will be fun. Some people always want to be very happy. | ||
+ | > Suspendisse id sem consectetuer libero luctus adipiscing. | ||
+ | |||
+ | > This is a two paragraph quote It is important to have good customer service, | ||
+ | a customer service provider. I decided to use a policeman. | ||
+ | For the vestibule, we saw: Viverra nec, Fringilla in, Laoreet vitae, | ||
+ | Risus. | ||
+ | |||
+ | > Until it's fun to play. Some people always want to be very happy. | ||
+ | Suspendisse id sem consectetuer libero luctus adipiscing. | ||
+ | |||
+ | > Today is the first day Quote level. | ||
+ | > | ||
+ | > > This is a nested quote | ||
+ | >> | ||
+ | Back to the first level | ||
+ | |||
+ | > ## This is a headline | ||
+ | > | ||
+ | > 1. this is the first list item. | ||
+ | > 2. this is the second list item | ||
+ | > | ||
+ | > Here is a small example code: | ||
+ | > | ||
+ | > return shell_exec(" | ||
+ | |||
+ | ==== Lists ==== | ||
+ | < | ||
+ | * Green | ||
+ | * Blue | ||
+ | |||
+ | + Red | ||
+ | + green | ||
+ | + Blue | ||
+ | |||
+ | - red | ||
+ | - green | ||
+ | - blue | ||
+ | |||
+ | 1. dog | ||
+ | 2. cat | ||
+ | 3. mouse | ||
+ | |||
+ | * Lorem ipsum dolor let amet, consectetuer adipiscing elit. | ||
+ | I decided to use a policeman. For the vestibule we have seen: | ||
+ | Viverra nec, Fringilla in, Laoreet vitae, Risus. | ||
+ | * Until it's fun to play. Some people always want to be very happy. | ||
+ | Suspendisse id sem consectetuer libero luctus adipiscing. | ||
+ | | ||
+ | * Warsteiner | ||
+ | * King | ||
+ | |||
+ | * Warsteiner 2 | ||
+ | |||
+ | * King 2 | ||
+ | |||
+ | 1 This is a list item with two paragraphs. It is important to, | ||
+ | to have good customer service, a customer service provider. I decided to, | ||
+ | to use a policeman. | ||
+ | |||
+ | For the vestibule, we saw: Viverra nec, Fringilla in, Laoreet | ||
+ | vitae, Risus. Until then, it will be fun. | ||
+ | Some people always want to be very happy . | ||
+ | |||
+ | 2 Suspendisse id sem consectetuer libero luctus adipiscing. | ||
+ | |||
+ | |||
+ | * This is a two-paragraph list item. | ||
+ | |||
+ | This is the second paragraph in this list item. Only the | ||
+ | first line must be indented It is important to have good customer service, | ||
+ | a customer service provider. | ||
+ | |||
+ | * Another item in the same list. | ||
+ | |||
+ | * A list item with a quote: | ||
+ | > This is a quote | ||
+ | > In a list. | ||
+ | |||
+ | * A list item with a code example: | ||
+ | <insert code here> </ | ||
+ | |||
+ | |||
+ | ==== Definition Lists ==== | ||
+ | < | ||
+ | : | ||
+ | the family Rosaceae. | ||
+ | |||
+ | Orange | ||
+ | : The fruit of an evergreen tree of the genus Citrus. </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== Simple tables ==== | ||
+ | < | ||
+ | ------------- | ------------- | ||
+ | Content Cell | Content Cell | ||
+ | Content Cell | Content Cell | ||
+ | |||
+ | | First Header | ||
+ | | ------------- | ------------- | | ||
+ | | Content Cell | Content Cell | | ||
+ | | Content Cell | Content Cell | </ | ||
+ | |||
+ | A colon at the left of the separator line will make the column left-aligned; | ||
+ | |||
+ | < | ||
+ | | --------- | -----:| | ||
+ | | Computer | ||
+ | | Phone | ||
+ | | Pipe | $1 | </ | ||
+ | |||
+ | ==== Links ==== | ||
+ | < | ||
+ | an inline link. | ||
+ | |||
+ | [This link](http:// | ||
+ | |||
+ | There is more information on the [About me](/ | ||
+ | |||
+ | This is [an example] [id] for a reference link | ||
+ | [id]: http:// | ||
+ | |||
+ | [id]: < | ||
+ | |||
+ | [Link back to header 1](# | ||
+ | |||
+ | ==== Footnotes ==== | ||
+ | < | ||
+ | Second text with a footnote[^2]. | ||
+ | [^1]: The footnote text can be placed at the end of the page. | ||
+ | [^2]: This footnote text can also be placed at the end of the page. </ | ||
+ | |||
+ | ==== Automatic links ==== | ||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | ==== Emphasis ==== | ||
+ | < | ||
+ | |||
+ | _Single underline_ | ||
+ | |||
+ | **Double asterisks** | ||
+ | |||
+ | __double underlines__ | ||
+ | |||
+ | Lord*God*sacrament | ||
+ | |||
+ | \*This text is enclosed by asterisks.\* | ||
+ | |||
+ | *italics*, **bold** and ***bold italics*** or | ||
+ | _italic_, __bold__ and ___bold italic___ </ | ||
+ | |||
+ | |||
+ | ==== Code ==== | ||
+ | < | ||
+ | The tag is a code block. | ||
+ | |||
+ | An example in AppleScript: | ||
+ | tell application " | ||
+ | beep | ||
+ | end tell | ||
+ | |||
+ | Use the `printf()` function to output text | ||
+ | ``Somewhere here (`) a backtick is hidden.`` | ||
+ | |||
+ | Nobody uses ``< | ||
+ | |||
+ | ```` | ||
+ | <? | ||
+ | echo " | ||
+ | ?> | ||
+ | ```` | ||
+ | |||
+ | This is a paragraph introducing: | ||
+ | ~~~~~~~~~~~~~~~~~~~~~ | ||
+ | a one-line code block | ||
+ | ~~~~~~~~~~~~~~~~~~~~~ | ||
+ | |||
+ | `````````````````` | ||
+ | another code block | ||
+ | `````````````````` | ||
+ | |||
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .html | ||
+ | < | ||
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
+ | |||
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.html #example-1} | ||
+ | < | ||
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ </ | ||
+ | |||
+ | |||
+ | ==== Graphics ==== | ||
+ | < | ||
+ | |||
+ | [Alternative text](./ | ||
+ | |||
+ | |||
+ | ==== Backslash masking ==== | ||
+ | < | ||
+ | |||
+ | |||
+ | ==== Bulleted lists nested in a numbered list ==== | ||
+ | < | ||
+ | * Apple | ||
+ | * Banana | ||
+ | 2. vegetable | ||
+ | - carrot | ||
+ | - broccoli </ | ||
+ | |||
+ | |||
+ | |||
+ | **Support** | ||
+ | |||
+ | Please ask for help on the [[https:// | ||
+ | |||
+ | |||
+ | === Changelog: === | ||
+ | == 2024-02-10 (V1.2.3) == | ||
+ | * added CSS for simple tables and footnotes | ||
+ | * update doc_markdown.txt | ||
+ | == 2024-01-21 (V1.2.2) == | ||
+ | * Contains the latest SmartyPants Lib 1.8.1 and Markdown 2.0.0 | ||
+ |
res/plugins/markdown.1577823923.txt.gz · Last modified: 2019/12/31 21:25 by arvid