Reply to topic

Does Kate have any plugins to format code such as HTML?

silocoder
Registered Member
Posts
18
Karma
0
I like using Kate but one thing I would like to have is the ability to format code similar to what you can do with Sublime Text.

In particular I would to format HTML/CSS/JS as well as other programming languages such as Go.

Thanks!
User avatar abury
Registered Member
Posts
163
Karma
1
OS
Sure does!
many doc types, as well as web code support, are already available options
simply switch to the doc type you want to edit...

EDIT
sorry... in case it's not obvious
go to Tools > Mode > Markup and then HTML if that's want you want to do


KDE neon 5.19 - Plasma 5.19.5 - Frameworks 5.74 - Qt 5.15 - Kernel 5.4.0-48
silocoder
Registered Member
Posts
18
Karma
0
abury wrote:Sure does!
many doc types, as well as web code support, are already available options
simply switch to the doc type you want to edit...

EDIT
sorry... in case it's not obvious
go to Tools > Mode > Markup and then HTML if that's want you want to do


Maybe I am explaining it wrong. I am looking for plugins to prettify different languages such as HTML/JS or Go or Python or whatever.
Here is an example I have using sublime-text plugin to prettify some html.

https://prnt.sc/uhrm6v

I looked in plugins and menus and don't see anything similar.
User avatar Mamarok
Manager
Posts
4939
Karma
13
OS
Hm, did you try importing such a code sample and apply the Tools -> Highlighting -> Markup -> HTML?


Currently running Kubuntu 20.10 beta, Plasma 5.19.5, Frameworks 5.74.0, Qt 5.14.2, kernel 5.8.0-19
FWIW: it is always useful to state the exact Plasma version and distribution when asking questions in this forum, makes it easier for us to help ...

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], beerislife, Bing [Bot], Google [Bot], ipwizard, Majestic-12 [Bot], Sogou [Bot], Yahoo [Bot]