This bookmarklet finds an Org tags in exported HTML in Firefox, at least (just a proof of concept). To try it just copy-paste the whole thing into the address field.

javascript:
t=window.prompt("Tag?", "");
e=document.getElementsByClassName(t);
for(i=0;i<e.length;i++)
   {e[i].scrollIntoView(true);
    if(! window.confirm("Next?"))
    {break;}
   }
void(0);

Probably not what you wanted, but fun anyway.
:)

CM


On 2/4/11 9:41 AM, Sébastien Vauban wrote:
Hi Jeff,

Jeff Horn wrote:
2011/2/3 Sébastien Vauban<wxhgmqzgw...@spammotel.com>:
What about really adding the colon marker, so that one can easily find tags in
the exported file?

Use the CSS content property.

     http://www.w3schools.com/Css/pr_gen_content.asp

If you read my post of [2010-11-25 Thu 11:34] in this thread, you'll see I did
try that, but it's not working for the searches:

* Workaround?

Maybe adding a colon before and after the tag would help? CSS to the
rescue:

#+begin_src
.tag:before {
     content: ":";
}

.tag:after {
     content: ":";
}
#+end_src

Answer is: no! In the HTML display, we now do well see a ":me:", but
searches on that same string fail to find it.

* Solution?

- Really add a colon marker in the exported file (to HTML)

Best regards,
   Seb




_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to