hugoDocs icon indicating copy to clipboard operation
hugoDocs copied to clipboard

Lint markdown; fix version and footnote; add examples

Open tohn opened this issue 5 years ago • 6 comments

I used markdownlint, but ignored MD033 and MD013 in the code lines.

Furthermore I fixed the version for type/section specific hooks and removed the footnote (since it's possible now).

And to complete the changes in Version 0.73.0, I added the blog example in the directory tree together with render-heading.html.

tohn avatar Jul 17 '20 17:07 tohn

So, the "max n chars per line" is something I would never do myself when writing Markdown, so we cannot have a linter that somehow complains about that.

bep avatar Jul 17 '20 17:07 bep

So, the "max n chars per line" is something I would never do myself when writing Markdown, so we cannot have a linter that somehow complains about that.

Ok. So should I revert the "max n chars per line" changes? Or is it fine for now, but should be excluded as proposed by #1102 (I saw this after I created this PR)?

tohn avatar Jul 17 '20 19:07 tohn

Let us conclude with #1102 before we start linting.

bep avatar Jul 17 '20 19:07 bep

Let us conclude with #1102 before we start linting.

Sounds good. I reverted the markdownlint changes.

tohn avatar Jul 18 '20 14:07 tohn

hey @bep - the linting changes have been reverted, so is the content for this PR ok to be merged?

coliff avatar Nov 20 '20 16:11 coliff

Hello, any news on this?

tohn avatar Jan 21 '21 23:01 tohn

This has been obsolete for a while. The render hook documentation has been moved and revised several times.

jmooring avatar Nov 11 '22 06:11 jmooring