-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi!
In the documentation fields, there's an undesired leading space for every line.
Here's an example, from the package interface of the gleam_stdlib right now (append function here):
I suspect it's due to the /// comments removed, but the space between the triple slash and the comments themselves are still there. It's a bug, because the string as-is is not a valid markdown string.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
{ // That field has undesired spaces "documentation": " Creates a new bit array by joining two bit arrays.\n\n ## Examples\n\n ```gleam\n append(to: from_string(\"butter\"), suffix: from_string(\"fly\"))\n // -> from_string(\"butterfly\")\n ```\n", // Rest of the definition. "deprecation": null, "implementations": { "gleam": false, "uses-erlang-externals": true, "uses-javascript-externals": true, "can-run-on-erlang": true, "can-run-on-javascript": true }, "parameters": [ { "label": "to", "type": { "kind": "named", "name": "BitArray", "package": "", "module": "gleam", "parameters": [ ] } }, { "label": "suffix", "type": { "kind": "named", "name": "BitArray", "package": "", "module": "gleam", "parameters": [ ] } } ], "return": { "kind": "named", "name": "BitArray", "package": "", "module": "gleam", "parameters": [ ] } }