Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper markdown/djot markup for indexed terms #140

Open
Omikhleia opened this issue Jan 7, 2025 · 0 comments
Open

Proper markdown/djot markup for indexed terms #140

Omikhleia opened this issue Jan 7, 2025 · 0 comments
Labels
question Further information is requested

Comments

@Omikhleia
Copy link
Owner

Omikhleia commented Jan 7, 2025

See Omikhleia/resilient.sile#17 and sile-typesetter/sile#2207

Question here would then be: for Markdown/Djot content, what would be the right way to markup some span of text for indexing? AFAIK, these lightweight markup languages do not cover that case... I'd be tempted to use a custom syntax (e.g. [[span of text|main]] with the name of the index after a |, or something similar, but that would be me only a that wild world of imprecise lightweight markup languages (and of course one could do a more "usual" markup such as [span of text]{index=main} but this is cumbersome, and ill-defined too.)

N.B. One reason one may want a dedicated syntax, moreover, is that may not all inline content shall be accepted for indexing. I'm not sure what the expectation would be for a footnote call, etc. There might be more than meets the eye here...

@Omikhleia Omikhleia added the question Further information is requested label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant