This repository has been archived by the owner on Mar 25, 2023. It is now read-only.
term definitions
#380
amitu
started this conversation in
Ideas & RFC
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Along with terms, we can also have definition.
Then we can show summary when someone hovers over a term usage.
This would be tricky to implement as the definition itself may have source code etc, may span more than one ftd sections, and even not, the definition may refer to variables, use ftd markup syntax, so we can not extract the definition easily without invoking full ftd parser. But to render a document we already need difinitions across all documents, so there is a kind of dependency issue. We can try to solve dependency issue by doing two passes, in one pass we parse all ftd documents in a package, and then in second pass use the output of first pass (which contains all terms and their definitions) to render.
Beta Was this translation helpful? Give feedback.
All reactions