You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Currently _pegdown_ supports the following extensions over standard Markdown:
12
12
* QUOTES: Beautifies single quotes, double quotes and double angle quotes (« and »)
13
13
* SMARTYPANTS: Convenience extension enabling both, SMARTS and QUOTES, at once.
14
14
* ABBREVIATIONS: Abbreviations in the way of [PHP Markdown Extra](http://michelf.com/projects/php-markdown/extra/#abbr).
15
-
* ANCHORLINKS: generate anchor links for headers by taking the first range of alphanumerics and spaces.
15
+
* ANCHORLINKS: Generate anchor links for headers by taking the first range of alphanumerics and spaces.
16
16
* HARDWRAPS: Alternative handling of newlines, see [Github-flavoured-Markdown]
17
17
* AUTOLINKS: Plain (undelimited) autolinks the way [Github-flavoured-Markdown] implements them.
18
18
* TABLES: Tables similar to [MultiMarkdown](http://fletcherpenney.net/multimarkdown/) (which is in turn like the [PHP Markdown Extra](http://michelf.com/projects/php-markdown/extra/#table) tables, but with colspan support).
@@ -29,7 +29,9 @@ Currently _pegdown_ supports the following extensions over standard Markdown:
29
29
*[ ] open task item
30
30
*[x] closed or completed task item.
31
31
*[X] also closed or completed task item.
32
-
* EXTANCHORLINKS uses all text of the header for ANCHORLINKS, spaces and non-alphanumerics replaced by `-`, multiple dashes trimmed to one.
32
+
* EXTANCHORLINKS: Generate anchor links for headers using complete contents of the header.
33
+
* Spaces and non-alphanumerics replaced by `-`, multiple dashes trimmed to one.
34
+
* Anchor link is added as first element inside the header with empty content: `<h1><a name="header"></a>header</h1>`
33
35
34
36
Note: _pegdown_ differs from the original Markdown in that it ignores in-word emphasis as in
0 commit comments