Skip to content

Add EEP-59 Markdown highlighting for Erlang docs - #27

Open
codeadict wants to merge 1 commit into
zed-extensions:mainfrom
codeadict:codeadict/erlang-docs-higlight
Open

Add EEP-59 Markdown highlighting for Erlang docs#27
codeadict wants to merge 1 commit into
zed-extensions:mainfrom
codeadict:codeadict/erlang-docs-higlight

Conversation

@codeadict

Copy link
Copy Markdown
Contributor

Adds Markdown injection support for EEP-59 -doc and -moduledoc attributes, including parenthesized forms.

Also recognizes erlang in fenced Markdown code blocks.

Before After
Screenshot 2026-07-23 at 1 16 52 PM Screenshot 2026-07-23 at 1 16 11 PM

@cla-bot cla-bot Bot added the cla-signed label Jul 23, 2026

@MrSubidubi MrSubidubi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this as well!

Curious though, do other editors also handle the highlighting like this? While I do see how that could improve things, I also feel this could lead to confusion, as e.g. the nested highlighting looks a bit off.

@codeadict

codeadict commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for this as well!

Curious though, do other editors also handle the highlighting like this? While I do see how that could improve things, I also feel this could lead to confusion, as e.g. the nested highlighting looks a bit off.

@MrSubidubi - I'm not sure about other editors but in Zed elixir does the same at https://github.com/zed-extensions/elixir/blob/main/languages/elixir/injections.scm and I work with it daily with no issues, maybe I can add a setting to have this on / off if it becomes ugly for some people

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants