Skip to content

feature: Improve spacing in templates directly #19

@pawamoy

Description

@pawamoy

Is your feature request related to a problem? Please describe.

We currently rely on mdformat to fix the spacing in the output. This is problematic because mdformat only understands a subset of markup constructs (Markdown can vary a lot) and tends to be a bit too greedy when formatting contents (it will escape underscores, etc.). There is no "spacing-only" mode in mdformat.

Describe the solution you'd like

To avoid relying on mdformat, which doesn't always work well and will "corrupt" the input/output, we should improve the Jinja templates directly, so that the spacing is immediately correct when generating the output.

Describe alternatives you've considered

Implement extensions/mods for mdformat to support for markup constructs.

Additional context

Brought up in #18.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions