slint-ui / document-features

Extract documentation for the feature flags from comments in Cargo.toml
Apache License 2.0
171 stars 11 forks source link

Indent paragraphed comments under the resp. bullet point for a feature #5

Closed virtualritz closed 2 years ago

virtualritz commented 2 years ago
[features]
default = []
## the `spline_inverse()` code will check if the knot vector is
## monotonic in *debug* builds.
##
## ⚠️ This only works when using a *nightly* toolchain.
unstable = []

Expected MD output:

Actual MD output:

⚠️ This only works when using a nightly toolchain.

ogoffart commented 2 years ago

Yeah. Seems sensible

virtualritz commented 2 years ago

Cheers! 😄

ogoffart commented 2 years ago

v0.2.1 released with tyhe update.