It would be nice if there was support for and an icon for a [ php ] and an [ html ] markup tag, because using [ code ] doesn’t always do code-shading in the best way for these languages…
We do… Welcome to Markdown! (fyi, the language actually isn’t required, it should auto-detect it pretty well)
```php
//code here
```
```html
<!–// code here //–>
```
Okay, I didn’t know that.
But for us BBCode people, why not also allow [ php ] and [ html ] AND add a menu shortcut for each for those who like to click versus type?
Because Discourse doesn’t run on bbcode, so you really should start to use Markdown (the limited bbcode in Discourse is via plugins)
There is a link to a Markdown “cheat sheet” in this post:
Already exists. The button
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.