View Single Post
Old 04-11-2022, 08:13 PM   #5
celiapgt
EBook-obsessive gal
celiapgt began at the beginning.
 
celiapgt's Avatar
 
Posts: 47
Karma: 10
Join Date: Mar 2011
Location: La ciudad de la eterna primavera
Device: Kobo Clara HD
Yes, I was thinking of using clips, but I do not know how to use it. For example,

Code:
<p>A paragraph</p>
<hr />
<p>Another paragraph</p>
or

Code:
blockquote.modern {
 text-align:justify;
 margin: 0 1em 1em;
}
So, if I select either one of those blocks, I get (accordingly):

Code:
<!-- 
<p>A paragraph</p>
<hr />
<p>Another paragraph</p>
-->
or

Code:
/*
blockquote.modern {
 text-align:justify;
 margin: 0 1em 1em;
}
*/
And if I already have these latter paragraphs, I can revert them to the first two paragraphs.


How can I achieve it? Is it possible using clips/regex or plugins?
celiapgt is offline   Reply With Quote