From b3446d228a770d01817e018509a11dcbe44c7202 Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Sun, 7 Jan 2024 00:02:05 -0600 Subject: [PATCH 1/6] docs(COMPILE): typo about $3{#} --- docs/COMPILE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/COMPILE.md b/docs/COMPILE.md index bb0002d..b496975 100644 --- a/docs/COMPILE.md +++ b/docs/COMPILE.md @@ -29,7 +29,7 @@ Prepends each scene's title (its note name) before its content. Options: | Name | Type | Default | Description | | --- | --- | --- | --- | -| Title Format | Text | $1 | A format string that lets you customize how the title is inserted. A `$1` in the string will be replaced with the scene title. A `$2`, if present, will be replaced with the scene's ordinal (the 1-based index it appears in your draft). Wrapping text in $3{} will repeat that text a number of times equal to the scene’s indentation level plus one—e.g., $3{#} for an unindented scenes becomes “#”. | +| Title Format | Text | $1 | A format string that lets you customize how the title is inserted. A `$1` in the string will be replaced with the scene title. A `$2`, if present, will be replaced with the scene's ordinal (the 1-based index it appears in your draft). Wrapping text in $3{} will repeat that text a number of times equal to the scene’s indentation level plus one—e.g., $3{#} for an unindented scenes become “###”. | | Separator | Text | \n\n | Some text to insert between the formatted title and the rest of the scene. | #### Remove Comments From 2981f741ff37d83923f7ac2ff4660ad8de6f9b9e Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Sun, 7 Jan 2024 00:04:55 -0600 Subject: [PATCH 2/6] docs(src): typo about $3{#} --- src/compile/steps/prepend-title.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile/steps/prepend-title.ts b/src/compile/steps/prepend-title.ts index 44a370f..be524c1 100644 --- a/src/compile/steps/prepend-title.ts +++ b/src/compile/steps/prepend-title.ts @@ -18,7 +18,7 @@ export const PrependTitleStep = makeBuiltinStep({ id: "format", name: "Title Format", description: - "Format of title. $1 will be replaced with title. $2, if present, will be replaced with scene number. Wrapping text in $3{} will repeat that text a number of times equal to the scene’s indentation level plus one—e.g., $3{#} for an unindented scenes becomes “#”.", + "Format of title. $1 will be replaced with title. $2, if present, will be replaced with scene number. Wrapping text in $3{} will repeat that text a number of times equal to the scene’s indentation level plus one—e.g., $3{#} for unindented scenes becomes “#”.", type: CompileStepOptionType.Text, default: "$1", }, From 31906f0af7ecda8a40e806a79e1801b3373f121b Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Sun, 7 Jan 2024 00:06:22 -0600 Subject: [PATCH 3/6] docs(COMPILE): undo mistake in my typo fix --- docs/COMPILE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/COMPILE.md b/docs/COMPILE.md index b496975..0dba532 100644 --- a/docs/COMPILE.md +++ b/docs/COMPILE.md @@ -29,7 +29,7 @@ Prepends each scene's title (its note name) before its content. Options: | Name | Type | Default | Description | | --- | --- | --- | --- | -| Title Format | Text | $1 | A format string that lets you customize how the title is inserted. A `$1` in the string will be replaced with the scene title. A `$2`, if present, will be replaced with the scene's ordinal (the 1-based index it appears in your draft). Wrapping text in $3{} will repeat that text a number of times equal to the scene’s indentation level plus one—e.g., $3{#} for an unindented scenes become “###”. | +| Title Format | Text | $1 | A format string that lets you customize how the title is inserted. A `$1` in the string will be replaced with the scene title. A `$2`, if present, will be replaced with the scene's ordinal (the 1-based index it appears in your draft). Wrapping text in $3{} will repeat that text a number of times equal to the scene’s indentation level plus one—e.g., $3{#} for an unindented scenes become “#”. | | Separator | Text | \n\n | Some text to insert between the formatted title and the rest of the scene. | #### Remove Comments From df7ad2395bbef97d18d085349bfb90bb932a380e Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Sun, 7 Jan 2024 00:07:37 -0600 Subject: [PATCH 4/6] docs(COMPILE): undo another mistake of mine --- docs/COMPILE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/COMPILE.md b/docs/COMPILE.md index 0dba532..21da2f1 100644 --- a/docs/COMPILE.md +++ b/docs/COMPILE.md @@ -29,7 +29,7 @@ Prepends each scene's title (its note name) before its content. Options: | Name | Type | Default | Description | | --- | --- | --- | --- | -| Title Format | Text | $1 | A format string that lets you customize how the title is inserted. A `$1` in the string will be replaced with the scene title. A `$2`, if present, will be replaced with the scene's ordinal (the 1-based index it appears in your draft). Wrapping text in $3{} will repeat that text a number of times equal to the scene’s indentation level plus one—e.g., $3{#} for an unindented scenes become “#”. | +| Title Format | Text | $1 | A format string that lets you customize how the title is inserted. A `$1` in the string will be replaced with the scene title. A `$2`, if present, will be replaced with the scene's ordinal (the 1-based index it appears in your draft). Wrapping text in $3{} will repeat that text a number of times equal to the scene’s indentation level plus one—e.g., $3{#} for unindented scenes becomes “#”. | | Separator | Text | \n\n | Some text to insert between the formatted title and the rest of the scene. | #### Remove Comments From c9344fd6729d7f48823ac76a51ee1a5bdad0d9ef Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Sun, 7 Jan 2024 00:14:49 -0600 Subject: [PATCH 5/6] style: reduce diff complexity --- docs/COMPILE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/COMPILE.md b/docs/COMPILE.md index 0ea0425..6f6ccaf 100644 --- a/docs/COMPILE.md +++ b/docs/COMPILE.md @@ -28,9 +28,9 @@ _Scene_ Prepends each scene's title (its note name) before its content. Options: -| Name | Type | Default | Description | -| ------------ | ---- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Title Format | Text | $1 | A format string that lets you customize how the title is inserted. A `$1` in the string will be replaced with the scene title. A `$2`, if present, will be replaced with the scene’s number (first scene is “1,“ it’s child is “1.1,” etc.). Wrapping text in $3{} will repeat that text a number of times equal to the scene’s indentation level plus one—e.g., $3{#} for unindented scenes becomes “#”. | +| Name | Type | Default | Description | +| ------------ | ---- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| Title Format | Text | $1 | A format string that lets you customize how the title is inserted. A `$1` in the string will be replaced with the scene title. A `$2`, if present, will be replaced with the scene’s number (first scene is “1,“ it’s child is “1.1,” etc.). Wrapping text in $3{} will repeat that text a number of times equal to the scene’s indentation level plus one—e.g., $3{#} for unindented scenes becomes “#”. | | Separator | Text | \n\n | Some text to insert between the formatted title and the rest of the scene. #### Remove Comments From 5f02078c0b02b6bf61d99e34715510f552ca3b77 Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Sun, 7 Jan 2024 00:17:17 -0600 Subject: [PATCH 6/6] docs(COMPILE): restore deleted formatting --- docs/COMPILE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/COMPILE.md b/docs/COMPILE.md index 6f6ccaf..4ac8ab1 100644 --- a/docs/COMPILE.md +++ b/docs/COMPILE.md @@ -31,7 +31,7 @@ Prepends each scene's title (its note name) before its content. Options: | Name | Type | Default | Description | | ------------ | ---- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Title Format | Text | $1 | A format string that lets you customize how the title is inserted. A `$1` in the string will be replaced with the scene title. A `$2`, if present, will be replaced with the scene’s number (first scene is “1,“ it’s child is “1.1,” etc.). Wrapping text in $3{} will repeat that text a number of times equal to the scene’s indentation level plus one—e.g., $3{#} for unindented scenes becomes “#”. | -| Separator | Text | \n\n | Some text to insert between the formatted title and the rest of the scene. +| Separator | Text | \n\n | Some text to insert between the formatted title and the rest of the scene. | #### Remove Comments