Skip to content

How To Style The Post With PHP Markdown

styling post php markdown

ATX Heading

To add a heading, you just need to open with #. Get your heading text followed with “hash”. As we know there are 1-6 heading HTML tags, So adding the number of “hashes” will do all.

# This is heading 1 H1
## This is heading 2 H2
### This is heading 3 H3
#### This is heading 4 H4
##### This is heading 5 H5
###### This is heading 6 H6

You can close the atx-style header, if you think it looks better.

If you would like to add a line just below of the heading or just to separate the texts, use a horizontal line. Horizontal lines can be entered by using three hyphens or three asterisks.

---
***
- - -
* * *

Blockquotes

Markdown uses email-style > character for blockquote. Add the open angular bracket (greater than sign) on each line.

> This is the first line of the blockquote.
> Another line if you want it to display.
>
> More will goes here.

Blockquotes can be nested (i.e. a blockquote-in-a-blockquote) by adding additional levels of >:

> This is the first level of quoting.
>
> > This is nested blockquote.
>
> Back to the first level.

Blockquotes can contain other elements including header, lists and code block. Normally any decent text editor should make an email-style quote easy.

> ## This is header
>
> 1. This is the first list item.
> 2. This is the second list item.
>
>Example code:
>
>    return shell("echo input");

Lists

Markdown supports ordered (numbered) and unordered (bulleted) lists. For unordered lists use hyphens, asterisks and pluses.

- List 1
- List 2
- List 3

+ List 1
+ List 2
+ List 3

* List 1
* List 2
* List 3

Ordered lists use numbers followed by periods.

1. List 1
2. List 2
3. List 3

You will get the same result if you use the list like this:

1. List 1
1. List 2
1. List 3

or

3. List 1
5. List 2
11. List 3

Links

Markdown supports two style of links: inline and reference.

To create an inline link: use a set of regular parenthesis immediately after the line text’s closing square bracket. Inside the parenthesis, put the URL where you want to link to point, along with an optional title for the link, inside the double quotes.

This is [an example](http://example.com/ "Title") inline link.
[This link](http://example.net/) has no title attribute.

Emphasis

Markdown treats asterisks and underscores as indicators of emphasis. Wrapped the text to style it.

Single will give you italic and double give you bold style.

*italic text*
_italic text_
**strong text**
__strong text__

If you use the spaces before and after * and _ it will be treated as literal * asterisks and _ underscore.

Code

To indicate span or code, wrap it with a pair of backtick. Single and double do the same job. It is very helpful when you need to indicate a single backtick within a code span.

Please do not use `<a>` tag.

or

``echo $input;``

``Single backtick (`) inside a code span``

Image

Markdown uses the image syntax that is intended to resemble the syntax for links, allowing for two styles: inline and reference.

![Alt text](/path/to/img.jpg)
![Alt text](/path/to/img.jpg "Optional title")
Tags:

0 thoughts on “How To Style The Post With PHP Markdown”

  1. Pingback: raso.su

  2. Pingback: vxi.su

  3. Pingback: hacklink

  4. Pingback: hacklink

  5. Pingback: mzplay

  6. Pingback: wix seo

  7. Pingback: blue french bulldog

  8. Pingback: frenchie puppies for sale california

  9. Pingback: live cam sex

  10. Pingback: free cam girls

  11. Pingback: video chat

  12. Pingback: sex webcams

  13. Pingback: cheap sex webcams

  14. Pingback: texas heeler

  15. Pingback: Entegre Dünyası

  16. Pingback: in vitro fertilization mexico

  17. Pingback: floodle

  18. Pingback: dog papers

  19. Pingback: french bulldog puppies near me

  20. Pingback: fertility acupuncture nj

  21. Pingback: culiacan clima

  22. Pingback: clima en chimalhuacan

  23. Pingback: atizapán de zaragoza clima

  24. Pingback: cuautitlan izcalli clima

  25. Pingback: cuautitlan izcalli clima

  26. Pingback: atizapán de zaragoza clima

  27. Pingback: cuautitlan izcalli clima

  28. Pingback: cuautitlan izcalli clima

  29. Pingback: vietravel tour

  30. Pingback: cuautitlan izcalli clima

  31. Pingback: clima en chimalhuacan

  32. Pingback: atizapán de zaragoza clima

  33. Pingback: surrogate mother in mexico

  34. Pingback: Delta

  35. Pingback: Alen-Bradley

  36. Pingback: بطاقه ايوا

  37. Pingback: live adult webcams

  38. Pingback: sex chat

  39. Pingback: live sex chat

  40. Pingback: cam sex

  41. Pingback: cheap sex shows

  42. Pingback: blog

  43. Pingback: condos on isla mujeres

  44. Pingback: play net

  45. Pingback: french bulldog houston

  46. Pingback: dog yorkie mix

  47. Pingback: french bulldog shih tzu mix

  48. Pingback: 스포츠중계

  49. Pingback: 스포츠분석

  50. Pingback: 라이브스코어

  51. Pingback: esports domains

  52. Pingback: best probiotic for french bulldogs

  53. Pingback: designer dogs

  54. Pingback: micro french bulldog

  55. Pingback: securecheats valorant hacks

  56. Pingback: unlock camos and skins

  57. Pingback: delta force cheats

  58. Pingback: bfv ESP

  59. Pingback: mw2 hacks

  60. Pingback: candy factory

  61. Pingback: rent a yacht in cancun

  62. Pingback: cheap french bulldog puppies under $500

  63. Pingback: hairdresser in houston

  64. Pingback: 늑대닷컴

  65. Pingback: johnny dang

  66. Pingback: 늑대닷컴

  67. Pingback: joyce echols

  68. Pingback: boston terrier rescue massachusetts

  69. Pingback: dog probiotic chews on amazon

  70. Pingback: dr kim acupuncture

  71. Pingback: mexican candy store near me

  72. Pingback: mexican candy store near me

  73. Pingback: mexican candy store near me

  74. Pingback: french bulldog texas

  75. Pingback: linh hoang

  76. Pingback: french bull

  77. Pingback: crypto news

  78. Pingback: brazilian jiu jitsu in houston

  79. Pingback: bjj jiu jitsu cypress texas

  80. Pingback: mexican candy sandia

  81. Pingback: mexican candy bags

  82. Pingback: condiciones climaticas queretaro

  83. Pingback: french pitbull

  84. Pingback: probiotics for french bulldogs

  85. Pingback: french bulldog chihuahua mix

Leave a Reply