Skip to content

[Bug] Cannot link to constants in Markdown #1011

Closed

Description

@UlyssesZh

How to reproduce:

Create the following files:

# test.rb
module TestModule
  TEST_CONSTANT = 1108
  def test_instance_method
  end
end
<!-- test.md -->
TestModule
TestModule::TEST_CONSTANT
TestModule#test_instance_method

Run the command:

rdoc test.rb test.md

Then, use a browser to open doc/test_md.html.

Result:
image

Expected:
image

Activity

  1. st0012 commented on Dec 12, 2024

    @st0012
    Member

    I can reproduce this but it also happens when renaming .md to .rdoc. So it's likely a general auto-linking issue, not specific markup related.

  2. added a commit that references this issue on Jan 12, 2026
    17c0d6f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions