Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Post History
Users can specify the language of a code block by adding it after the first set of triple backticks. For example, this question over on Software Dev uses it for C. What programming languages are su...
#5: Post edited
Users can specify the language of a code block by adding it after the first set of triple backticks. For example, C++:<pre>```cppint main() {return 0;}```</pre>*Should* give[^1]```int main() {return 0;}```What programming languages are supported by the syntax highlighter?[^1]: For some reason this isn't working
- Users can specify the language of a code block by adding it after the first set of triple backticks. For example, [this question over on Software Dev](https://software.codidact.com/questions/277486) uses it for C.
- What programming languages are supported by the syntax highlighter?
#4: Post edited
- Users can specify the language of a code block by adding it after the first set of triple backticks. For example, C++:
- <pre>
- ```cpp
- int main() {
- return 0;
- }
- ```
- </pre>
gives```cpp- int main() {
- return 0;
- }
- ```
What programming languages are supported by the syntax highlighter?
- Users can specify the language of a code block by adding it after the first set of triple backticks. For example, C++:
- <pre>
- ```cpp
- int main() {
- return 0;
- }
- ```
- </pre>
- *Should* give[^1]
- ```
- int main() {
- return 0;
- }
- ```
- What programming languages are supported by the syntax highlighter?
- [^1]: For some reason this isn't working
#3: Post edited
Users can specify the language of a code block by adding it after the first set of triple backticks. For example, C:- <pre>
```c- int main() {
- return 0;
- }
- ```
- </pre>
- gives
```c- int main() {
- return 0;
- }
- ```
- What programming languages are supported by the syntax highlighter?
- Users can specify the language of a code block by adding it after the first set of triple backticks. For example, C++:
- <pre>
- ```cpp
- int main() {
- return 0;
- }
- ```
- </pre>
- gives
- ```cpp
- int main() {
- return 0;
- }
- ```
- What programming languages are supported by the syntax highlighter?
#2: Post edited
Users can specify the language of a code block by adding it after the first set of triple backticks. For example, Python:- <pre>
```pythonprint("Hello World")- ```
- </pre>
- gives
```pythonprint("Hello World")- ```
- What programming languages are supported by the syntax highlighter?
- Users can specify the language of a code block by adding it after the first set of triple backticks. For example, C:
- <pre>
- ```c
- int main() {
- return 0;
- }
- ```
- </pre>
- gives
- ```c
- int main() {
- return 0;
- }
- ```
- What programming languages are supported by the syntax highlighter?
#1: Initial revision
What languages have syntax highlighting support?
Users can specify the language of a code block by adding it after the first set of triple backticks. For example, Python: <pre> ```python print("Hello World") ``` </pre> gives ```python print("Hello World") ``` What programming languages are supported by the syntax highlighter?