You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am building a protobuf language plugin for IntelliJ platform.
And I use the commonmark-java for document comment rendering.
I need to resolve the references in document like [selector][google.api.DocumentationRule.selector].
So I create a DelegateInlineParserFactory to intercept InlineParserContext instance.
But I found the parameter label of the getLinkReferenceDefinition method has been converted to lower case by String label = Escaping.normalizeLabelContent(ref); in line 326 of InlineParserImpl.java
The google.api.documentationrule.selector is not a valid symbol, so I can't resolve it to a reference link to language element.
Describe the solution you'd like
Maybe the case ignoring should not handle in InlineParserImpl, it should pass the original label value to InlineParserContext, let InlineParserContext decide whether to ignore case.
The text was updated successfully, but these errors were encountered:
…ookup
This is useful for implementing a custom context that wants access to
the original label instead of lowercased and whitespace-collapsed.
Fixes#204.
Is your feature request related to a problem? Please describe.
I am building a protobuf language plugin for IntelliJ platform.
And I use the
commonmark-java
for document comment rendering.I need to resolve the references in document like
[selector][google.api.DocumentationRule.selector]
.So I create a
DelegateInlineParserFactory
to interceptInlineParserContext
instance.But I found the parameter
label
of thegetLinkReferenceDefinition
method has been converted to lower case byString label = Escaping.normalizeLabelContent(ref);
in line 326 ofInlineParserImpl.java
The
google.api.documentationrule.selector
is not a valid symbol, so I can't resolve it to a reference link to language element.Describe the solution you'd like
Maybe the case ignoring should not handle in
InlineParserImpl
, it should pass the original label value toInlineParserContext
, letInlineParserContext
decide whether to ignore case.The text was updated successfully, but these errors were encountered: