ugit/internal/html
jolheiser 3faedb8236
fix: search results
Signed-off-by: jolheiser <git@jolheiser.com>
2024-08-10 18:15:27 -05:00
..
markup feat: custom lexer registry 2024-07-31 22:18:17 -05:00
base.templ fix: minor correction for non-chroma pre/code blocks 2024-05-24 22:29:44 -05:00
base_templ.go feat: breadcrumbs and History.replaceState 2024-06-26 23:24:50 -05:00
generate.css fix: minor correction for non-chroma pre/code blocks 2024-05-24 22:29:44 -05:00
generate.go feat: native git 2024-02-22 13:14:05 -06:00
index.templ feat: tags 2024-07-16 12:33:41 -05:00
index_templ.go feat: tags 2024-07-16 12:33:41 -05:00
readme.templ chore: update readme styles 2024-02-02 15:29:18 -06:00
readme_templ.go feat: breadcrumbs and History.replaceState 2024-06-26 23:24:50 -05:00
repo.templ feat: tags 2024-07-16 12:33:41 -05:00
repo_breadcrumb.templ fix: base breadcrumb requires ending slash 2024-07-09 15:54:04 -05:00
repo_breadcrumb_templ.go fix: base breadcrumb requires ending slash 2024-07-09 15:54:04 -05:00
repo_commit.templ fix: styling 2024-03-22 13:12:47 -05:00
repo_commit_templ.go feat: breadcrumbs and History.replaceState 2024-06-26 23:24:50 -05:00
repo_file.templ feat: breadcrumbs and History.replaceState 2024-06-26 23:24:50 -05:00
repo_file_templ.go feat: breadcrumbs and History.replaceState 2024-06-26 23:24:50 -05:00
repo_log.templ fix: styling 2024-03-22 13:12:47 -05:00
repo_log_templ.go feat: breadcrumbs and History.replaceState 2024-06-26 23:24:50 -05:00
repo_refs.templ fix: styling 2024-03-22 13:12:47 -05:00
repo_refs_templ.go feat: breadcrumbs and History.replaceState 2024-06-26 23:24:50 -05:00
repo_search.templ fix: search results 2024-08-10 18:15:27 -05:00
repo_search_templ.go fix: search results 2024-08-10 18:15:27 -05:00
repo_templ.go feat: tags 2024-07-16 12:33:41 -05:00
repo_tree.templ feat: breadcrumbs and History.replaceState 2024-06-26 23:24:50 -05:00
repo_tree_templ.go feat: breadcrumbs and History.replaceState 2024-06-26 23:24:50 -05:00
tailwind.config.js initial commit 2024-01-15 16:26:51 -06:00
tailwind.go feat: tags 2024-07-16 12:33:41 -05:00

readme.templ

package html

type ReadmeComponentContext struct {
    Markdown string
}

templ readmeComponent(rcc ReadmeComponentContext) {
	if rcc.Markdown != "" {
		<div class="bg-base dark:bg-base/50 p-5 mt-5 rounded markdown">@templ.Raw(rcc.Markdown)</div>
	}
}