Skip to content

Latest commit

 

History

History
157 lines (78 loc) · 3.6 KB

File metadata and controls

157 lines (78 loc) · 3.6 KB

$This \ is \ a \ sample .$

$\color{red}This \ is \ a \ sample .$

$\color{red}This \ is \ a \ sample .$

$\colorbox{red}This \ is \ a \ sample .$

$\colorbox{red}{This \ is \ a \ sample .}$

$\colorbox{red}{\color{yellow} This \ is \ a \ sample .}$

$$\color{teal} This \ is \ Sample .$$

$$ This \ is \ Sample . $$

$\mathcal{\color{purple}{this \ is \ a \ paragraph} \ \color{cyan}{in \ another \ font}}$

$\mathbb{\color{teal}{this \ is \ a } \ \color{magenta}{paragraph \ in \ another \ font}}$

$\mathscr{\color{red}{this} \ \ \color{blue}{is \ \ a \ \ paragraph} \ \ \color{yellow}{in \ \ another \ \ font}}$

$\mathfrak{\color{lime}{this \ is \ a \ paragraph \ in \ another \ font}}$

$\mathscr{\color{red}{mon}\color{white}{day}}$

$\textcolor{olive}{\TeX} \ \textcolor{darkgray}{workaround \ found \ by \ Dassalem \ Mohammed \ Yasser}$

$\textit{hello}$ #italic

$\text{hello}$ #normal

$\Large{hello}$$ #Bigger text size

$$\LaTeX$$

Color Marking :

$\colorbox{red}{text}$

Text inside bordered Box

$\fbox{Hello there}$

$\color[rgb]{1,0,1} hello$

$\color[RGB]{155,127,0} hello$

$\color[gray]{0.3} hello$

This is a workaround to change text font , color and also size in GFM using MathJaX

this is a preview for how it looks like:

enter image description here possible fonts :

mathcal - mathbb - mathscr - mathfrak - mathcal

possible colors :

black, blue, brown, cyan, darkgray, gray, green, lightgray, lime, magenta, olive, orange, pink, purple, red, teal, violet, white, yellow

use $..$ for inline code and $$..$$ for centered

u can use \color or \textcolor
u can use \ between text as a space (or \ \ for double space)

U can go advanced with coloring text : possible models : gray - rgb - RGB Model Desc values gray Shades of gray 0.1 to 1.0 rgb red,green,blue [0-255]{3} RGB Red,Green,Blue [0-255]{3}

To do this just add tags such as these samples to your README.md file:

   // code for coloring
   // code for coloring
   // code for coloring
   // code for coloring

// etc.

No "pre" or "code" tags needed.

Basic Code Appearing $${\color{red}Red}$$ $${\color{red}Red}$$ $${\color{green}Green}$$ $${\color{green}Green}$$ $${\color{lightgreen}Light \space Green}$$ $${\color{lightgreen}Light \space Green}$$ $${\color{blue}Blue}$$ $${\color{blue}Blue}$$ $${\color{lightblue}Light \space Blue}$$ $${\color{lightblue}Light \space Blue}$$ $${\color{black}Black}$$ $${\color{black}Black}$$ $${\color{white}White}$$ $${\color{white}White}$$

Done Simply with:

[](https://lib.rs/crate

$\colorbox{green}{{\color{white}{This\ is\ a\ Big\ Title}}}$

Ubuntu image builder

Build codecov Go Report Card