Skip to content

Linter/Formatter for Org documentation #307

@jvdydev

Description

@jvdydev

More of a "tracking/WIP" issue, @jeffbowman mentioned in #166 the idea of building a linter/formatter for the documentation to enforce a style guide.

Had some time today, so I hacked together a small line-based regex-parser with a small linter (a bit under 300 lines of elisp).
Example output (popup buffer):

ce-linter-test-out

The core needs a rewrite, but the concept is there.

As for formatting, I'm still debating whether to make it a separate function or to replace the compile-buffer-like output with it acting on the buffer.

Just putting this up as an issue for now, ideas and suggestions welcome.

Metadata

Metadata

Assignees

Labels

discussionDiscuss things, make decisionsdocumentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions