ugit/internal/html
jolheiser a224c338e9
feat: refs page
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2024-01-15 21:11:52 -06:00
..
base.templ initial commit 2024-01-15 16:26:51 -06:00
base_templ.go initial commit 2024-01-15 16:26:51 -06:00
chroma.go initial commit 2024-01-15 16:26:51 -06:00
generate.css initial commit 2024-01-15 16:26:51 -06:00
generate.go initial commit 2024-01-15 16:26:51 -06:00
index.templ fix: use profile email on index 2024-01-15 17:17:11 -06:00
index_templ.go fix: use profile email on index 2024-01-15 17:17:11 -06:00
markdown.go initial commit 2024-01-15 16:26:51 -06:00
readme.templ initial commit 2024-01-15 16:26:51 -06:00
readme_templ.go initial commit 2024-01-15 16:26:51 -06:00
repo.templ feat: refs page 2024-01-15 21:11:52 -06:00
repo_file.templ initial commit 2024-01-15 16:26:51 -06:00
repo_file_templ.go initial commit 2024-01-15 16:26:51 -06:00
repo_refs.templ feat: refs page 2024-01-15 21:11:52 -06:00
repo_refs_templ.go feat: refs page 2024-01-15 21:11:52 -06:00
repo_templ.go feat: refs page 2024-01-15 21:11:52 -06:00
repo_tree.templ initial commit 2024-01-15 16:26:51 -06:00
repo_tree_templ.go initial commit 2024-01-15 16:26:51 -06:00
tailwind.config.js initial commit 2024-01-15 16:26:51 -06:00
tailwind.go feat: refs page 2024-01-15 21:11:52 -06:00

readme.templ

package html

type ReadmeComponentContext struct {
    Markdown string
}

templ readmeComponent(rcc ReadmeComponentContext) {
	<div class="bg-base/50 px-5 rounded markdown">@templ.Raw(rcc.Markdown)</div>
}