Allow spans in help
to provide structured suggestions
#241
Labels
enhancement
New feature or request
help
to provide structured suggestions
#241
Depending on the failure mode, it may be possible to suggest a fix to the user.
In those cases, it'd very nice to be able to show them a PR-like code suggestion - what to remove and/or what to add with respect to a span pointing at their code.
The precedent I'm looking at here is Rust's suggestion machinery (here).
Going with a practical example:
I'd love for that code snippet in
help
to be rendered using the same style of the code snippets above, with::<GenericType>
in green to stress that it's an addition.Is this a usecase you'd be interested to support?
The text was updated successfully, but these errors were encountered: