Sridhar Ratnakumar
Sridhar Ratnakumar
Let's take a step back and flesh out the requirements first. Question 1: What are the specific Markdown snippets on which we do *not* want to add the external icon?...
> An image wrapped in a link Actually, this is only valid if the image appears as a block element (as with the disaster girl, due to being the only...
I'm mostly envisioning a situation where the user doesn't *have to* override their .tpl - tweaking WithIcon/NoIcon just to workaround the external link icon behavior. It should do the "right"...
Yea, this is really frustrating to think about without having *specific* and *concrete* examples. I'd suggest adding all those examples (including your "A link text containing some image ..." case)...
@kukimik I'm happy with this PR. If you could add tests for `determineLinkType` (which contains the heuristic), I can look into merging it after a cleanup. See the various `*Spec.hs`...
> Are you ok with changing `` to `Data.List.union` in this line? Yea, that makes sense.
This probably should be done in https://github.com/srid/unionmount
Also if there are broken links, static site generation should fail.
Neuron does allow whitespace in IDs, along with a number of special characters. See https://github.com/srid/neuron/blob/595f040293d746fc7e036cc872b7e48c1f45c7f1/neuron/src/lib/Neuron/Zettelkasten/ID.hs#L84-L98 Sent with [ProtonMail](https://protonmail.com/) Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, February 8th, 2021 at...
If "12345678 qwe.md" exists, then neuron should link to it. See the doc zettelkasten which uses whitespace liberally in zettel IDs: https://github.com/srid/neuron/tree/master/doc/Guide Sent with [ProtonMail](https://protonmail.com/) Secure Email. ‐‐‐‐‐‐‐ Original Message...