curvenote / editor

An interactive scientific editor built with ProseMirror, React and Redux - by Curvenote.
https://curvenote.com
MIT License
291 stars 32 forks source link

Auto convert to `citep` if author places brackets #128

Open stevejpurves opened 2 years ago

stevejpurves commented 2 years ago

Sometimes authors will manually enclose a citation in plain text brackets ( ) rather then converting the citation note to a group. Could the editor automatically convert to a group if the author typed ( ) around the citation? A little like when an author types backticks to get inline code?

rowanc1 commented 2 years ago

I think also adding an optional prefix: (e.g. image

Right now these are text citations and so don't have brackets properly.