Skip to content

Commit

Permalink
accept singular and lowercase letter
Browse files Browse the repository at this point in the history
  • Loading branch information
renatocaliari authored May 10, 2022
1 parent cdd604b commit 7ff59bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import '@logseq/libs';

const quickReferenceRegEx = /^^(\#*? ?)Quick References(\\n)?/;

const quickReferenceRegEx = /^^(\#*? ?)[Qq]uick [Rr]eference(s?)(\\n)?/;

async function insertQuickReference(e, idxReference) {
let foundBlockQuickReference = false;
Expand Down

0 comments on commit 7ff59bc

Please sign in to comment.