Engineer bro!

Fri Oct 22 2021 (1 month ago)

Engineer by mistake!

I am a software engineer by passion

Series of 5 parts

Embedding iframe on @dsabyte online editor

Code syntax highlight in @dsabyte online editor

You can add an optional language identifier to enable syntax highlighting in your fenced code block. @dsabyte online editor uses prismjs for syntax highlighting purpose.

Example

The below code will produce
carbon (2)

The below output

/*
comment
*/
#include <iostream>
#include <vector>
using namespace std;
int main(void){
    vector_demo();
}

Supported language

  1. java

  2. cpp - c++

  3. c

  4. python

  5. jsx - react,vue, etc

  6. TSX - react, vue, etc

  7. js - java script

  8. ts - type script

  9. json

  10. bash

  11. diff - git diff

  12. docker

  13. html

  14. css

Code syntax highlight tutorial

Thank You ❤️

@dsabytehow tosyntax highlightcode block

Comments (0)

Discussions (0)


© 2021 dsabyte. All rights reserved