ugit/internal/html
jolheiser c0782b58ec
remove js files
2025-08-15 19:45:09 -05:00
..
markup add line numbers and TOC to commit page, clean up markup formatter 2025-04-23 12:10:46 -05:00
base.templ move back to templ 2025-08-15 16:43:55 -05:00
base_templ.go move back to templ 2025-08-15 16:43:55 -05:00
generate.css make entire codeblock scroll if needed 2025-04-17 14:29:42 -05:00
generate.go move back to templ 2025-08-15 16:43:55 -05:00
index.templ move back to templ 2025-08-15 16:43:55 -05:00
index_templ.go move back to templ 2025-08-15 16:43:55 -05:00
readme.templ move back to templ 2025-08-15 16:43:55 -05:00
readme_templ.go move back to templ 2025-08-15 16:43:55 -05:00
repo.templ move back to templ 2025-08-15 16:43:55 -05:00
repo_breadcrumb.templ move back to templ 2025-08-15 16:43:55 -05:00
repo_breadcrumb_templ.go move back to templ 2025-08-15 16:43:55 -05:00
repo_commit.templ move back to templ 2025-08-15 16:43:55 -05:00
repo_commit_templ.go move back to templ 2025-08-15 16:43:55 -05:00
repo_file.templ move back to templ 2025-08-15 16:43:55 -05:00
repo_file_templ.go move back to templ 2025-08-15 16:43:55 -05:00
repo_log.templ move back to templ 2025-08-15 16:43:55 -05:00
repo_log_templ.go move back to templ 2025-08-15 16:43:55 -05:00
repo_refs.templ move back to templ 2025-08-15 16:43:55 -05:00
repo_refs_templ.go move back to templ 2025-08-15 16:43:55 -05:00
repo_search.templ move back to templ 2025-08-15 16:43:55 -05:00
repo_search_templ.go move back to templ 2025-08-15 16:43:55 -05:00
repo_templ.go move back to templ 2025-08-15 16:43:55 -05:00
repo_tree.templ move back to templ 2025-08-15 16:43:55 -05:00
repo_tree_templ.go move back to templ 2025-08-15 16:43:55 -05:00
tailwind.config.js convert to gomponents 2025-02-02 22:08:54 -06:00
tailwind.go move back to templ 2025-08-15 16:43:55 -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>
	}
}