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

"::" vanishing in doc inner hyperlinks (tcl) #67

Closed
stanpetit opened this issue Mar 6, 2018 · 7 comments
Closed

"::" vanishing in doc inner hyperlinks (tcl) #67

stanpetit opened this issue Mar 6, 2018 · 7 comments

Comments

@stanpetit
Copy link

stanpetit commented Mar 6, 2018

Issue description

Hi ! Thanks for the tables !
In the following tcl extract : [ddt::GetSource] is expected to be a hyperlink to ### Proc: ddt::GetSource just below, but the :: are vanishing, devoured by some parsing rule between the link's hooks ...

The weird stuff is that :

  • the :: and links are vanishing in the MDVPP's display panel
  • the exported html displays :: again but inside the [hooked::stuff], and they are not produced as a html link

I guess other languages than tcl (docs) are affected too.

Best, Stan

Markdown to reproduce

****
### Proc: ddt::GetSourceId

Returns the source identifier for a file. The source identifier is an integer.

#### See Also

[ddt::GetSource]

****
### Proc: ddt::GetSource

Screenshot

If available

Environment

  • Notepad++ 7.5.1 (x86)
  • MarkdownViewer++ 0.8.0 19087
  • Windows 7(x64)
@nea
Copy link
Owner

nea commented Mar 6, 2018

Hi @stanpetit

I hope I got your problem right, but complex anchors are not part of the CommonMark specification http://spec.commonmark.org/0.28/#links.

There is an ongoing discussion about this in the forums https://talk.commonmark.org/t/anchors-in-markdown/247/28.

Simple anchors can be done, for example
[link](#Link)
http://spec.commonmark.org/0.28/#example-472

But there are limitations such as
The destination cannot contain spaces or line breaks, even if enclosed in pointy brackets
http://spec.commonmark.org/0.28/#example-463

Best

@stanpetit
Copy link
Author

stanpetit commented Mar 6, 2018 via email

@stanpetit
Copy link
Author

stanpetit commented Mar 6, 2018 via email

@stanpetit
Copy link
Author

stanpetit commented Mar 6, 2018 via email

@nea
Copy link
Owner

nea commented Mar 6, 2018

Hi @stanpetit

### my::link
[my::link](my::link)

works well with the plugin in NPP, too.

What doesn't work is a space. It is not the colon.

Best

@stanpetit
Copy link
Author

stanpetit commented Mar 6, 2018 via email

@nea
Copy link
Owner

nea commented Mar 6, 2018

Hey

Sorry, dont really know. Judt using the spec implementation.

Sorry

@nea nea closed this as completed Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants