feat: update auto render
This commit is contained in:
9
web/templates/builtin/field/markdown.html
Normal file
9
web/templates/builtin/field/markdown.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{{define "field-markdown"}}
|
||||
{{if .Value}}
|
||||
<div class="prose prose-sm max-w-none">
|
||||
{{.Value}}
|
||||
</div>
|
||||
{{else}}
|
||||
<span class="text-gray-400">-</span>
|
||||
{{end}}
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user