Re: [RFC] Alternative syntax for Nowdoc.
| From: | Lynn | Date: | Wed, 30 Jun 2021 09:16:24 +0000 |
| Subject: | Re: [RFC] Alternative syntax for Nowdoc. | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-115228@lists.php.net to get a copy of this message | ||
On Wed, Jun 30, 2021 at 11:03 AM Guilliam Xavier <guilliam.xavier@gmail.com>
wrote:
> PS: "amusingly", the code samples are hard to understand after rendered on
> https://externals.io/message/115213
I'd expect a lot of markdown issues when trying to write examples using
backticks. While such a thing might not be blocking for a nice language
feature, it will surely impact the tooling in the ecosystem for
documentation. I already run into issues with single line code examples in
Discord because it gets messy real fast. Sure it's just an annoyance, but I
would like to suggest avoiding it if we can.
```
const something = foo;
```