1
0
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:
Laurent Cozic
2018-06-14 08:52:12 +01:00
parent c748281d86
commit 5d9c2c0904
11 changed files with 201 additions and 83 deletions

View File

@ -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;