Skip to content

Question: How to make all module attributes with heredoc be listed as comments. #484

@lud

Description

@lud

This is kind of an X/Y problem, but 99% of heredocs I write in attributes are markdown and vscode lets me hard wrap them (thanks to the rewrap extension I guess). And it's very useful.

Of course this is the default for @doc and @moduledoc but we have a bunch of other attributes that also contain markdown most of the time.

I would like that for all the attributes. I saw in #315 that there is some grammar I can inject but I'm not really sure how to do that. Could you give me some pointers about that or about what file I should patch?

Thank you!

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