Copy link to clipboard
Copied
The text contains HTML tags, and I want to find and replace them, such as making the text between <b></b> bold, the text between <i></i> italicized, and <br> for line breaks. Is there an interface that can accomplish this?
Copy link to clipboard
Copied
Have a look at BeautifulSoup
Copy link to clipboard
Copied
thank you ! I think python library couldn't help me
Copy link to clipboard
Copied
@Eugene Tyson I think BeautifulSoup is a Phython library. However, the idea is fine to use an HTML parser. @dorinho search Github for a HTML parser for C++ and that should help you in our opinion.
-Manan
Copy link to clipboard
Copied
@Manan Joshi Thanks. I will have a try.
Copy link to clipboard
Copied
They said for a plugin I didn't know what the plugin is or how it's being created.
In that case - maybe DOM manipulation in Javascript - would that work?
Copy link to clipboard
Copied
Hi @Eugene Tyson,
There are many ways technologies we can extend/automate InDesign. See my description for the same in another discussion
Another new thing has been added to this mix i.e. UXP I am sure you must have read about it. This is again HTML + JS
-Manan