Code of Conduct
What article on docs.github.com is affected?
Hello.
It appears that GitHub supports URL fragments for linking to specific lines in code (e.g., #L1-L2).
However, there is no official documentation for linking to specific columns within lines (e.g., #L2C4-L2C16).
Could you please clarify whether this format is supported, and if so, document its usage for both lines and columns in code files (even it is experimental)?
Unfortunately even GitHub copilot does not know the feature but has kindly provided the way to create the issue :)
Thank you.
What part(s) of the article would you like to see updated?
content/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet
- there are no info about column selection support
Additional information
Example: https://github.com/github/docs/blob/main/README.md?plain=1#L2C4-L2C16
This is the best way to pinpoint a problem spot, especially in a very long line.
Code of Conduct
What article on docs.github.com is affected?
Hello.
It appears that GitHub supports URL fragments for linking to specific lines in code (e.g., #L1-L2).
However, there is no official documentation for linking to specific columns within lines (e.g., #L2C4-L2C16).
Could you please clarify whether this format is supported, and if so, document its usage for both lines and columns in code files (even it is experimental)?
Unfortunately even GitHub copilot does not know the feature but has kindly provided the way to create the issue :)
Thank you.
What part(s) of the article would you like to see updated?
content/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet
Additional information
Example: https://github.com/github/docs/blob/main/README.md?plain=1#L2C4-L2C16
This is the best way to pinpoint a problem spot, especially in a very long line.