neoforged / GradleUtils

Gradle buildscript utility library for NeoForged projects
GNU Lesser General Public License v2.1
1 stars 5 forks source link

Changelog MD generation not multi lining entries correctly #2

Open ApexModder opened 12 months ago

ApexModder commented 12 months ago

I have been using GradleUtils for a while now to generate me plain text and markdown changelog files, this all works great until it comes across a commit which has multiple lines/bullet points to it, the plain text formats fine but markdown renders all lines as 1 continous line, making it hard to distinguish between them all.

As you can see by the provided image, the plain text on the left, splits both lines up correctly, but the markdown render is just removing the empty whitespace between the 2 lines making it hard to see the 2 different points.

image

A potential fix I would suggest would be changing markdown from aligning the multi lines, to being a indented dash (-) as markdown would then render these as each there own sub bullet points.

image