mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-27 23:25:18 +00:00
Updated Wiki content
@@ -70,9 +70,9 @@ jobs:
|
||||
lines.forEach((line, index) => {
|
||||
const lineNum = index + 1;
|
||||
|
||||
// Match checklist patterns: "- [ ]", "- [x]", "[number]. [ ]", etc.
|
||||
const checklistPattern = /^(\s*)(?:[-*]|\d+\.)\s+\[[\sx]\]/;
|
||||
const match = line.match(checklistPattern);
|
||||
// Match ALL list patterns: "- ", "* ", "[number]. "
|
||||
const listPattern = /^(\s*)(?:[-*]|\d+\.)\s+/;
|
||||
const match = line.match(listPattern);
|
||||
|
||||
if (match) {
|
||||
const indentation = match[1].length;
|
||||
|
||||
Reference in New Issue
Block a user