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) => {
|
lines.forEach((line, index) => {
|
||||||
const lineNum = index + 1;
|
const lineNum = index + 1;
|
||||||
|
|
||||||
// Match checklist patterns: "- [ ]", "- [x]", "[number]. [ ]", etc.
|
// Match ALL list patterns: "- ", "* ", "[number]. "
|
||||||
const checklistPattern = /^(\s*)(?:[-*]|\d+\.)\s+\[[\sx]\]/;
|
const listPattern = /^(\s*)(?:[-*]|\d+\.)\s+/;
|
||||||
const match = line.match(checklistPattern);
|
const match = line.match(listPattern);
|
||||||
|
|
||||||
if (match) {
|
if (match) {
|
||||||
const indentation = match[1].length;
|
const indentation = match[1].length;
|
||||||
|
|||||||
Reference in New Issue
Block a user