Improve FAQ template

Use separate anchor tags, so FAQ entry titles are properly rendered.

type: documentation
This commit is contained in:
Casey Rodarmor 2020-04-20 00:16:15 -07:00
parent 1380290eb8
commit 9f48062461
No known key found for this signature in database
GPG Key ID: 556186B153EC6FE0
3 changed files with 6 additions and 5 deletions

View File

@ -4,7 +4,8 @@ Changelog
UNRELEASED - 2020-04-20
-----------------------
- :wrench: [`xxxxxxxxxxxx`](https://github.com/casey/intermodal/commits/master) Make `publish-check` recipe stricter - _Casey Rodarmor <casey@rodarmor.com>_
- :books: [`xxxxxxxxxxxx`](https://github.com/casey/intermodal/commits/master) Improve FAQ template - _Casey Rodarmor <casey@rodarmor.com>_
- :wrench: [`1380290eb8e2`](https://github.com/casey/intermodal/commit/1380290eb8e222605f368bc8346a1e63c83d9af7) Make `publish-check` recipe stricter - _Casey Rodarmor <casey@rodarmor.com>_
[v0.1.6](https://github.com/casey/intermodal/releases/tag/v0.1.6) - 2020-04-20

View File

@ -6,8 +6,8 @@ FAQ
{% endfor %}
{% for entry in entries %}
<h2 name="{{entry.anchor}}">
{{entry.title}}
<a name="{{entry.anchor}}"></a>
## {{entry.title}}
</h2>
{{entry.text}}

View File

@ -6,8 +6,8 @@ FAQ
<h2 name="fzf-preview">
Can intermodal be used to preview torrents with `fzf`?
<a name="fzf-preview"></a>
## Can intermodal be used to preview torrents with `fzf`?
</h2>
Yes! [@mustaqimM](https://github.com/mustaqimM) came up with the following: