I would like to create a text markup on an HTML page made by JavaScript. I've made a method that I can get the start and end points of a user-made selection and save them to Android, but I have no idea how to create HTML markup after the page loads again. I know I have to pass the start and end parameters of the text but not syntax.
I have not yet understood the use of the addRange shown in this example link
This tutorial explains how to create a user-selected text markup by changing its style: link