Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/medium-concise-summary-clipper.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
{
"name": "tags",
"value": "{{selector:a[href^="/tag/"] > div|replace:("":"-")}}",
"value": "{{selector:a[href^=\"/tag/\"] > div|replace:(\"\":\"-\")}}",
"type": "multitext"
}
],
Expand All @@ -58,4 +58,4 @@
"schema:@Article"
],
"noteContentFormat": "# {{title}}\n\n## Summary\n{{\"Based solely on the provided context, write ONE paragraph (70-110 words). No headings, no lists, no bullets, no tables, no code blocks. Plain text. ASCII only. Do not include surrounding quotes.\"|replace:\"/^'|'$/g\":\"\"|strip_tags:\"p,div,span,code,pre,ul,ol,li,h1,h2,h3,h4,h5,h6,table,thead,tbody,tr,td,th\"|strip_md|replace:\"/^\\s*[-*•].*$/gm\":\"\"|replace:\"/^(?:\\d+\\.|\\d+\\))\\s.*$/gm\":\"\"|replace:\"/\\s+/g\":\" \"|trim}}\n\n## Key points\n{{\"Based solely on the provided context, return 3-6 key points as a Markdown list. Each on its own line, prefixed exactly with '- ', 6-12 words, non-overlapping, no trailing punctuation. ASCII only. Do not include surrounding quotes.\"|replace:\"/^'|'$/g\":\"\"|strip_tags:\"p,div,span,ul,ol,li\"|replace:\"/^(?:\\*|•|—|–|\\d+\\.|\\d+\\))\\s*/gm\":\"- \"|replace:\"/\\s*-\\s/g\":\"\\n- \"|replace:\"/[\\.;:!\\?]+$/gm\":\"\"|replace:\"/[^\\x00-\\x7F]/g\":\"\"|replace:\"/^\\s*-\\s*$/gm\":\"\"|replace:\"/^\\s*$/\":\"- insufficient context\"|trim}}\n"
}
}