I am looking for an editor in mac osx. Which help me to pragmatically convert normal plain text in to HTML format.
Thanks
I am looking for an editor in mac osx. Which help me to pragmatically convert normal plain text in to HTML format.
Thanks
dont really follow. plain text doesn't contain any formatting so what's for html to add?
if you just to display text on webpage:
EITHER wrap it in < pre >BLABLA< / pre >
OR do a search and replace of all line endings with a < br / > line ending
=> no specific editor for that. if you want to convert markdown to html, there are some... I like markdown pro
for C / objC (osx and iOS both) use the lib Sundown :: https://github.com/Daij-Djan/sundown [originally for C, I added an easy objC wrapper]
Kwrite and Kate (KDE text editor and KDE advanced text editor) will do that for you. As they're part of KDE you will have to install them using one of the methods outlined here.
Create or copy some text then:- toolbar => File => Export as HTML
,