Skip to content

[Bug] Cannot link to constants in Markdown #1011

Open
@UlyssesZh

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

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