Skip to content

Commit

Permalink
post: transposing tensor files
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-kashitsyn committed Nov 22, 2024
1 parent e051069 commit 23f7889
Show file tree
Hide file tree
Showing 9 changed files with 1,646 additions and 94 deletions.
7 changes: 7 additions & 0 deletions blogware/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,13 @@ func renderGenericEnv(rc *RenderingCtx, buf *strings.Builder, env Env) error {
return err
}
buf.WriteString(`</ul>`)
case SymChecklist:
newRc.parent = UnorderedListCtx
buf.WriteString(`<ul class="checklist">`)
if err := renderGenericSeq(&newRc, buf, env.body); err != nil {
return err
}
buf.WriteString(`</ul>`)
case SymVerbatim:
fmt.Fprintf(buf, `<div class="source-container"><pre class="source %s"><code>`, optsToCSSClasses(env.opts))
for _, n := range env.body {
Expand Down
1 change: 1 addition & 0 deletions blogware/symtab.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ var (
SymAbstract = BuiltinEnv("abstract")
SymEnumerate = BuiltinEnv("enumerate")
SymItemize = BuiltinEnv("itemize")
SymChecklist = BuiltinEnv("checklist")
SymFigure = BuiltinEnv("figure")
SymTabular = BuiltinEnv("tabular")
SymTabularS = BuiltinEnv("tabular*")
Expand Down
Loading

0 comments on commit 23f7889

Please sign in to comment.