Ask your own question, for FREE!
LaTeX Practicing! :) 25 Online
OpenStudy (cybershadow):

Lately i have seen people writing codeblocks in their answers.....How can we write a codeblock in our posts?.... I am wondering it is done by latex, if so then what are the commands of writing a codeblock?

OpenStudy (cybershadow):

@Abhisar

OpenStudy (abhisar):

Hello @CyberShadow , what kind of codeblocks ?

OpenStudy (cybershadow):

A codeblock to show a piece of code or syntax. something like this.... http://prntscr.com/4entcv

OpenStudy (abhisar):

u mean the gray box ?

OpenStudy (cybershadow):

yeah

OpenStudy (abhisar):

just add ```xxxxxcodexxxxx```

OpenStudy (abhisar):

``` \(\ latex\) ```

OpenStudy (abhisar):

http://prntscr.com/4enuh0

OpenStudy (cybershadow):

``` Test

OpenStudy (cybershadow):

Yeah working thanks :)

OpenStudy (abhisar):

\(\rlap{\color{blue}{\huge\bigstar}\huge \color{blue}{ \text{You're Most Welcome! }}\color{blue}\bigstar}{\; \color{aqua}{\huge\bigstar}\huge \color{aqua}{\text{You're Most Welcome! }}\color{aqua}\bigstar}\) \(~~~~~~~~~~~~~~~~~~~~~~~~~~~\color{green}{\huge\ddot\smile}\color{blue}{\huge\ddot\smile}\color{pink}{\huge\ddot\smile}\color{red}{\huge\ddot\smile}\color{yellow}{\huge\ddot\smile}\)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!