Patchwork: Make dat:// url clickable

Created on 26 Aug 2017  路  4Comments  路  Source: ssbc/patchwork

I'd love to be able to just click on the links like the https one.
-------- Screen shot Below --------
screen shot 2017-08-25 at 5 18 37 pm

help wanted enhancement

All 4 comments

Is this fixed with the pull request in ssb-markdown?

I think this would be solved by adding protocols: ['http', 'https', 'dat'] here. My PR in ssb-markdown continues to support the current renderer usage where protocols must be passed to the renderer.

Just tried this and it didn't work, looks like things have changed since https://github.com/ssbc/ssb-markdown/pull/20 was merged and now the protocols seem to be hardcoded again. Hmm.

This now works! Links like dat://example.com work perfectly, but hash links have to be encapsulated with < and > to avoid https://github.com/ssbc/ssb-markdown/issues/25. For example:

<dat://fdc941b24e12cb84697e31304f27f4aeb4ff3b51e90bbf4c4853f5c0f5b047f0>
Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicohansi picture nicohansi  路  8Comments

cinnamon-bun picture cinnamon-bun  路  4Comments

cblgh picture cblgh  路  8Comments

celesteh picture celesteh  路  8Comments

Logicbloke picture Logicbloke  路  7Comments