Skip to content

Commit 3d4e32f

Browse files
authored
docs: http to https and use example.com for example domains (#249)
1 parent d10fd5f commit 3d4e32f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ marked:
9292
- **external_link**
9393
* **enable** - Open external links in a new tab.
9494
* **exclude** - Exclude hostname. Specify subdomain when applicable, including `www`.
95-
- Example: `[foo](http://bar.com)` becomes `<a href="http://bar.com" target="_blank" rel="noopener">foo</a>`
95+
- Example: `[foo](https://example.com)` becomes `<a href="https://example.com" target="_blank" rel="noopener">foo</a>`
9696
* **nofollow** - Add `rel="noopener external nofollow noreferrer"` to all external links for security, privacy and SEO. [Read more](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types). _This can be enabled regardless of `external_link.enable`_
97-
- Example: `[foo](http://bar.com)` becomes `<a href="http://bar.com" rel="noopener external nofollow noreferrer">foo</a>`
97+
- Example: `[foo](https://example.com)` becomes `<a href="https://example.com" rel="noopener external nofollow noreferrer">foo</a>`
9898
- **disableNunjucks**: If true, Nunjucks tags `{{ }}` or `{% %}` (usually used by [tag plugins](https://hexo.io/docs/tag-plugins)) will not be rendered.
9999
- **descriptionLists**: Enable support for [description lists syntax](https://kramdown.gettalong.org/syntax.html#definition-lists).
100-
* Currently description lists syntax is not in neither [CommonMark](http://commonmark.org/) or [GFM](https://github.github.com/gfm/#task-list-items-extension-), `hexo-renderer-marked` only provides the option for backward compatibility.
100+
* Currently description lists syntax is not in neither [CommonMark](https://commonmark.org/) or [GFM](https://github.github.com/gfm/#task-list-items-extension-), `hexo-renderer-marked` only provides the option for backward compatibility.
101101
* By disabling the `descriptionLists`, markdown rendering performance will be improved by **a lot**.
102102

103103
For more options, see [Marked](https://marked.js.org/using_advanced#options). Due to the customizations implemented by this plugin, some of the Marked's options may not work as expected. Feel free to raise an [issue](https://github.com/hexojs/hexo-renderer-marked/issues) to us for clarification.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"marked",
2323
"renderer"
2424
],
25-
"author": "Tommy Chen <[email protected]> (http://zespia.tw)",
25+
"author": "Tommy Chen <[email protected]> (https://zespia.tw)",
2626
"maintainers": [
27-
"Abner Chou <[email protected]> (http://abnerchou.me)"
27+
"Abner Chou <[email protected]> (https://abnerchou.me)"
2828
],
2929
"license": "MIT",
3030
"dependencies": {

0 commit comments

Comments
 (0)