11// This file is auto-generated by alef — DO NOT EDIT.
2- // alef:hash:00e6ff02838808f7e24b424d089c475014d5a1893ce941fe0e4fcdecea42dc7a
2+ // alef:hash:8aa303ac06c0f3a26ef9cb7a6ced95f1dae6be571f4f935ba94e9db1dbd0cd08
33// To regenerate: alef generate
44// To verify freshness: alef verify --exit-code
55// Issues & docs: https://github.com/kreuzberg-dev/alef
@@ -62,7 +62,7 @@ describe("visitor", () => {
6262 it ( "visitor_button_custom: Visitor replaces button with bracketed text" , ( ) => {
6363 const _testVisitor = {
6464 visitButton ( ctx : any , text : any ) : string | { custom : string } {
65- return { custom : `[BTN:{text}]` } ;
65+ return { custom : `[BTN:$ {text } ]` } ;
6666 } ,
6767 } ;
6868
@@ -106,7 +106,7 @@ describe("visitor", () => {
106106 it ( "visitor_custom_blockquote: Visitor replaces blockquote with custom format" , ( ) => {
107107 const _testVisitor = {
108108 visitBlockquote ( ctx : any , content : any , depth : any ) : string | { custom : string } {
109- return { custom : `QUOTE: "{content}"` } ;
109+ return { custom : `QUOTE: "$ {content } "` } ;
110110 } ,
111111 } ;
112112
@@ -120,7 +120,7 @@ describe("visitor", () => {
120120 it ( "visitor_custom_emphasis: Visitor replaces emphasis with custom output" , ( ) => {
121121 const _testVisitor = {
122122 visitEmphasis ( ctx : any , text : any ) : string | { custom : string } {
123- return { custom : `>>>{text}<<<` } ;
123+ return { custom : `>>>$ {text } <<<` } ;
124124 } ,
125125 } ;
126126
@@ -132,7 +132,7 @@ describe("visitor", () => {
132132 it ( "visitor_custom_heading: Visitor replaces heading with custom format" , ( ) => {
133133 const _testVisitor = {
134134 visitHeading ( ctx : any , level : any , text : any , id : any ) : string | { custom : string } {
135- return { custom : `--- {text} ---` } ;
135+ return { custom : `--- $ {text } ---` } ;
136136 } ,
137137 } ;
138138
@@ -147,7 +147,7 @@ describe("visitor", () => {
147147 it ( "visitor_custom_image: Visitor replaces image with custom output using template" , ( ) => {
148148 const _testVisitor = {
149149 visitImage ( ctx : any , src : any , alt : any , title : any ) : string | { custom : string } {
150- return { custom : `[Image: {alt}]` } ;
150+ return { custom : `[Image: $ {alt } ]` } ;
151151 } ,
152152 } ;
153153
@@ -159,7 +159,7 @@ describe("visitor", () => {
159159 it ( "visitor_custom_link_format: Visitor reformats links using template interpolation" , ( ) => {
160160 const _testVisitor = {
161161 visitLink ( ctx : any , href : any , text : any , title : any ) : string | { custom : string } {
162- return { custom : `{text} ({href})` } ;
162+ return { custom : `$ {text } ($ {href } )` } ;
163163 } ,
164164 } ;
165165
@@ -200,7 +200,7 @@ describe("visitor", () => {
200200 it ( "visitor_definition_list_custom: Visitor customizes definition list items" , ( ) => {
201201 const _testVisitor = {
202202 visitDefinitionTerm ( ctx : any , text : any ) : string | { custom : string } {
203- return { custom : `**{text}**` } ;
203+ return { custom : `**$ {text } **` } ;
204204 } ,
205205 } ;
206206
@@ -216,10 +216,10 @@ describe("visitor", () => {
216216 it ( "visitor_definition_list_custom_format: Visitor formats definition lists with custom templates" , ( ) => {
217217 const _testVisitor = {
218218 visitDefinitionTerm ( ctx : any , text : any ) : string | { custom : string } {
219- return { custom : `### {text}` } ;
219+ return { custom : `### $ {text } ` } ;
220220 } ,
221221 visitDefinitionDescription ( ctx : any , text : any ) : string | { custom : string } {
222- return { custom : `> {text}` } ;
222+ return { custom : `> $ {text } ` } ;
223223 } ,
224224 } ;
225225
@@ -235,10 +235,10 @@ describe("visitor", () => {
235235
236236 it ( "visitor_definition_list_skip: Visitor skips definition list items from output" , ( ) => {
237237 const _testVisitor = {
238- visitDefinitionTerm ( ctx : any , text : any ) : string | { custom : string } {
238+ visitDefinitionDescription ( ctx : any , text : any ) : string | { custom : string } {
239239 return "skip" ;
240240 } ,
241- visitDefinitionDescription ( ctx : any , text : any ) : string | { custom : string } {
241+ visitDefinitionTerm ( ctx : any , text : any ) : string | { custom : string } {
242242 return "skip" ;
243243 } ,
244244 } ;
@@ -256,7 +256,7 @@ describe("visitor", () => {
256256 it ( "visitor_details_summary_custom: Visitor customizes details/summary disclosure elements" , ( ) => {
257257 const _testVisitor = {
258258 visitSummary ( ctx : any , text : any ) : string | { custom : string } {
259- return { custom : `[EXPANDABLE] {text}` } ;
259+ return { custom : `[EXPANDABLE] $ {text } ` } ;
260260 } ,
261261 } ;
262262
@@ -288,7 +288,7 @@ describe("visitor", () => {
288288 it ( "visitor_figure_custom: Visitor customizes figure and figcaption elements" , ( ) => {
289289 const _testVisitor = {
290290 visitFigcaption ( ctx : any , text : any ) : string | { custom : string } {
291- return { custom : `*{text}*` } ;
291+ return { custom : `*$ {text } *` } ;
292292 } ,
293293 } ;
294294
@@ -305,7 +305,7 @@ describe("visitor", () => {
305305 const _testVisitor = {
306306 visitFigureEnd ( ctx : any , output : any ) : string | { custom : string } {
307307 return {
308- custom : `{output}
308+ custom : `$ {output }
309309[/FIGURE]
310310` ,
311311 } ;
@@ -441,7 +441,7 @@ describe("visitor", () => {
441441 it ( "visitor_input_custom: Visitor replaces input with labeled output" , ( ) => {
442442 const _testVisitor = {
443443 visitInput ( ctx : any , inputType : any , name : any , value : any ) : string | { custom : string } {
444- return { custom : `[INPUT:{input_type}]` } ;
444+ return { custom : `[INPUT:$ {input_type } ]` } ;
445445 } ,
446446 } ;
447447
@@ -499,7 +499,7 @@ describe("visitor", () => {
499499 it ( "visitor_mark_custom: Visitor replaces highlight/mark with custom template" , ( ) => {
500500 const _testVisitor = {
501501 visitMark ( ctx : any , text : any ) : string | { custom : string } {
502- return { custom : `=={text}==` } ;
502+ return { custom : `==$ {text } ==` } ;
503503 } ,
504504 } ;
505505
@@ -626,7 +626,7 @@ describe("visitor", () => {
626626 it ( "visitor_subscript_custom: Visitor replaces subscript with custom template" , ( ) => {
627627 const _testVisitor = {
628628 visitSubscript ( ctx : any , text : any ) : string | { custom : string } {
629- return { custom : `~{text}~` } ;
629+ return { custom : `~$ {text } ~` } ;
630630 } ,
631631 } ;
632632
@@ -652,7 +652,7 @@ describe("visitor", () => {
652652 it ( "visitor_superscript_custom: Visitor replaces superscript with custom template" , ( ) => {
653653 const _testVisitor = {
654654 visitSuperscript ( ctx : any , text : any ) : string | { custom : string } {
655- return { custom : `^{text}^` } ;
655+ return { custom : `^$ {text } ^` } ;
656656 } ,
657657 } ;
658658
@@ -680,7 +680,7 @@ describe("visitor", () => {
680680 it ( "visitor_underline_custom: Visitor replaces underline with custom markup" , ( ) => {
681681 const _testVisitor = {
682682 visitUnderline ( ctx : any , text : any ) : string | { custom : string } {
683- return { custom : `_{text}_` } ;
683+ return { custom : `_$ {text } _` } ;
684684 } ,
685685 } ;
686686
@@ -707,7 +707,7 @@ describe("visitor", () => {
707707 it ( "visitor_video_custom: Visitor replaces video with custom link" , ( ) => {
708708 const _testVisitor = {
709709 visitVideo ( ctx : any , src : any ) : string | { custom : string } {
710- return { custom : `[VIDEO: {src}]` } ;
710+ return { custom : `[VIDEO: $ {src } ]` } ;
711711 } ,
712712 } ;
713713
0 commit comments