awth13 / org-appear

Toggle visibility of hidden Org mode element parts upon entering and leaving an element
MIT License
364 stars 19 forks source link

org appear wrongfully hides org-ref links with pre- and postscripts #25

Closed japhir closed 3 years ago

japhir commented 3 years ago

org-ref has a way to write prefixes and postfixes by using the link syntax, e.g. [[parencite:Einstein1960][e.g.::]] or [[parencite:Einstein1960][::page 15]].

These now get previewed as e.g.:: in stead of remaining a differently formatted (colour) org-ref entry that still displays the full link. Any way to turn this particular link type folding off?

japhir commented 3 years ago

note that parencite can be cite, parencite textcite and many more

awth13 commented 3 years ago

Thanks again :)

Fixed in c9275182c12e924136a0f4b7a085579e7a77a3b0. org-appear now ignores all link types that contain "cite" or "Cite". That should cover all org-ref link variations except bibentry (bibentry is a plain link and is ignored by another condition).

japhir commented 3 years ago

Great! Seems to work!