Merge pull request #283 from scvalex/fix-continue-reading-docs

Obfuscate <!-- more --> in docs so that it doesn't get replaced
This commit is contained in:
Vincent Prouillet 2018-04-10 11:07:02 +02:00 committed by GitHub
commit 3856ead778
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,9 +74,10 @@ Some content
You can ask Gutenberg to create a summary if you only want to show the first You can ask Gutenberg to create a summary if you only want to show the first
paragraph of each page in a list for example. paragraph of each page in a list for example.
To do so, add `<!-- more -->` in your content at the point where you want the To do so, add <code>&lt;!-- more --&gt;</code> in your content at the point
summary to end and the content up to that point will be also available separately where you want the summary to end and the content up to that point will be also
in the [template](./documentation/templates/pages-sections.md#page-variables). available separately in the
[template](./documentation/templates/pages-sections.md#page-variables).
An anchor link to this position named `continue-reading` is created so you can link An anchor link to this position named `continue-reading` is created so you can link
directly to it if needed for example: directly to it if needed for example: