Ability to reference symbols from within a block of code #3571
Labels
enhancement
An issue for a feature or an overall improvement
kdoc-spec
An issue that requires clarification from the KDoc spec's perspective
Is your feature request related to a problem? Please describe
We have documentation where we want to explain that the entity lies in an open interval defined by the corresponding constants.
We want to both express it in a Kotlin-friendly way and make them referenceable and lined.
We have two options (I use
'
as a backtick, otherwise GH render breaks):'DISTANT_PAST..DISTANT_FUTURE'
". Renders as a range, but constants are not linked at all[DISTANT_PAST]..[DISTANT_FUTURE]
". Renders as two links and a weird separator between them.Describe the solution you'd like
It would be nice to find a solution that both renders as a code and provides the corresponding link targets.
I have no specific suggestions ATM
The text was updated successfully, but these errors were encountered: