Skip to content

source map: map link and definition URL fields #68

Description

@luojiyin1987

父 issue:#59
优先级:P3(中)
依赖:先明确字段型 source-map 的公共查询 API;不能让现有 getSourceRange(node, ...) 对多字段节点产生歧义。

目标

link.urldefinition.url 提供精确、可查询的 source map。

范围

  • 设计并实现字段标识明确的查询入口,同时保持现有 text 契约兼容。
  • 覆盖 inline link、reference definition 及两者共享的 destination 解析路径。
  • 覆盖尖括号 wrapper、无 wrapper URL、转义、实体、标题及换行边界。
  • getRaw()、range 合法性、AST parity 和 README 文档/测试。

非目标

不包含 image alt 和 directive attributes;它们由后续子 issue 处理。

验收条件

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions