append hyphen for advanced links

This commit is contained in:
Felix Wu
2018-09-14 15:39:22 +02:00
committed by Felix Wu
parent ba785feca6
commit 65dba24061
3 changed files with 2083 additions and 258 deletions

View File

@ -176,7 +176,7 @@ try {
lists.ul(taggedSnippets, (snippet) =>
misc.link(
`\`${snippet[0]}\``,
misc.anchor(snippet[0])
`${misc.anchor(snippet[0])}${snippet[1].includes('advanced') ? '-' : ''}`
)
)
) + '\n';