Wiki/Glossary/Resource Linking Syntax #97

Closed
opened 2018-06-13 01:36:44 +02:00 by kauffj · 2 comments
kauffj commented 2018-06-13 01:36:44 +02:00 (Migrated from github.com)

I started putting [[ and ]] around key terms when creating copy as an experiment (currently only in Overview). The idea is when a term appears in these brackets, it would:

  • Link to a full resource page, if one exists
  • Link to a deterministic glossary URL (e.g. lbry.tech/glossary#term) if it doesn't

Possibly only the latter (glossary links) are necessary.

I started putting `[[` and `]]` around key terms when creating copy as an experiment (currently only in Overview). The idea is when a term appears in these brackets, it would: - Link to a full resource page, if one exists - Link to a deterministic glossary URL (e.g. lbry.tech/glossary#term) if it doesn't Possibly only the latter (glossary links) are necessary.
Krisseck commented 2018-06-15 08:42:42 +02:00 (Migrated from github.com)

I installed markdown-it-wikilinks on the site.

Link to a deterministic glossary URL (e.g. lbry.tech/glossary#term) if it doesn't

This part was easily done, so now every time you make [[something]] link it goes to glossary.html#something. For testing, there's a blockchain link here: https://lbry.tech/community/
And it links to the basic glossary page I did: https://lbry.tech/glossary.html#blockchain

Link to a full resource page, if one exists

This is bit hard to do using this package, I would suggest just using simple link tags, or link to glossary, then have a link there like "See page 'something' for more information"

I installed [markdown-it-wikilinks](https://www.npmjs.com/package/markdown-it-wikilinks) on the site. > Link to a deterministic glossary URL (e.g. lbry.tech/glossary#term) if it doesn't This part was easily done, so now every time you make `[[something]]` link it goes to glossary.html#something. For testing, there's a blockchain link here: https://lbry.tech/community/ And it links to the basic glossary page I did: https://lbry.tech/glossary.html#blockchain > Link to a full resource page, if one exists This is bit hard to do using this package, I would suggest just using simple link tags, or link to glossary, then have a link there like "See page 'something' for more information"
kauffj commented 2018-06-15 19:59:33 +02:00 (Migrated from github.com)

Looks good to me.

Looks good to me.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry.tech#97
No description provided.