You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backend/statemachine/agents/flashcards/templates.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@
19
19
1. **Front**: `<h3>{{concept}}</h3>`
20
20
2. **Back** layout (all HTML, no Markdown):
21
21
• definition → `<div class="definition">…</div>`, can be slightly formatted with html tags if applicable, otherwise use as is
22
-
• example → if exists wrap in `<pre><code class="hljs">…</code></pre>`
22
+
• example → if exists wrap in `<pre><code class="hljs (detect language from snippet and add highlight.js class of that langauge, example: language-go)">…</code></pre>`
23
23
• anti-pattern→ if exists wrap in `<div class="anti">️…</div>`
24
24
• contrast → if exists wrap in `<div class="contrast">(can use emojis at the beginning like ☣,⚠, or similar)…</div>`
25
25
• source → if exists wrap in `<div class="source">(can use emojis at the beginning like ☯,🔀 or similar ️)…</div>`
0 commit comments