Changing text style in post?

can I somehow add class, when writing text in admin panel content box,
to change the way text is styled? if yes, how?

You can use HTML in the content area by default because it’s supported in markdown. Some caveats though:

  1. You cannot by default use markdown inside HTML. Once it detects HTML, everything to the closing tag of the opening tag is considered HTML and is not processed by markdown.

  2. You can actually use markdown inside HTML if you enable markdown extra and put markdown="1" in the HTML tag surrounding the markdown you want to process. See markdown extra docs for more info. https://michelf.ca/projects/php-markdown/extra/#markdown-attr

  3. With markdown extra you can add HTML classes to some things like HTML headers: https://michelf.ca/projects/php-markdown/extra/#spe-attr

  4. You can disable Markdown completely and just use 100% pure HTML in your content area.