#35457 closed Cleanup/optimization (wontfix)
Documentation: Code inside of text box
Description (last modified by ) ¶
The first section of example code for Field name restrictions is inside of a text box, ridding it of the usual code formatting and styling.
Change History (5)
comment:1 by , 8 months ago
Description: | modified (diff) |
---|
comment:2 by , 8 months ago
Description: | modified (diff) |
---|---|
Owner: | removed |
Status: | assigned → new |
comment:3 by , 8 months ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:4 by , 8 months ago
Cc: | added |
---|---|
Resolution: | → wontfix |
Status: | assigned → closed |
Hello! Thank you for raising and I agree that we cannot currently do this.
There is a feature suggested to add blacken-docs on/off comments: https://github.com/adamchainz/blacken-docs/issues/193 which we could potentially use in feature.
I will close this as 'wontfix' but we can reopen/address this if this feature is to land in blacken-docs 👍
comment:5 by , 8 months ago
Yeah. There’s an open PR in blacken-docs but it needs significant rework before merging and I haven't prioritized it.
This has been done on purpose, as blaken-docs breaks when it tries to interpret pass = ... for the same reasons the example is showed in the first place. Don't believe there is a way around this.