You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-21 23:17:42 +02:00
Electron: Added more toolbar icons and upgraded Font Awesome
This commit is contained in:
@ -32,6 +32,11 @@ const markdownUtils = {
|
||||
return output;
|
||||
},
|
||||
|
||||
olLineNumber(line) {
|
||||
const match = line.match(/^(\d+)\.(\s.*|)$/);
|
||||
return match ? Number(match[1]) : 0;
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
module.exports = markdownUtils;
|
Reference in New Issue
Block a user