AjaxMultiCommentary / kodon

A minimal-computing multi-commentary platform
MIT License
0 stars 0 forks source link

`self` shortcode for pointing to same commentary and page #3

Closed pletcher closed 3 months ago

pletcher commented 5 months ago

E.g., with a comment on a line, being able to write @[lemma](self:urn) to create a link to a "sub-comment" on the same line.

pletcher commented 3 months ago

@mromanello I'm not sure that we need this to be its own feature. As it is, writing [lemma](?glossa=urn:cts:greekLit:tlg0011.tlg003.ajmc-lj:52@lemma) can do exactly this.

If we want the self to be available as a shortcut for the given passage, I'll have to find a way to make the markdown parser aware of the URN -- but I guess maybe I'm still confused about the desired behavior for this feature?

mromanello commented 3 months ago

Hi @pletcher, if this is the case, then I agree that we don't need the self shortcut. We just need a way to refer to glosses about another passage of the same text.

pletcher commented 3 months ago

Okay, great! This will help limit the complexity, which is always good.