stucco-software / octothorp.es

Hashtags for Websites
https://octothorp.es
6 stars 0 forks source link

Use octo-thorpe custom element #2

Closed nimdaghlian closed 6 months ago

nimdaghlian commented 6 months ago

This is just to track the implementation and discussion of this, as it is already partially implemented. Sadly, I think you are correct that we can't use <#> and must use an element with a dash.

<octo-thorpe>Term</octo-thorpe>

should create the triple

<[url of referring page]> <octo:thorpes> <octo:digitalGardens>

Specifying link text different from octothorpe

Option A: <octo-thorpe href="Term">Link Text</octo-thorpe>

Option B: <octo-thorpe tite="Link Text">term</octo-thorpe>

Option ?: <octo-thorpe>Link Text #term</octo-thorpe>

Spitballin. Thoughts?

nikolaswise commented 6 months ago

I feel like there's an answer to #7 here too but Im just not sure what it is. Will think on it in the shower.

nikolaswise commented 6 months ago

I think I like

<octo-thorpe href="term">Link Text</octo-thorpe>
nikolaswise commented 6 months ago

Okay this is working! Check out the fun rainbow blessing at https://nikolas.ws/is