alpha
Login
or
Join now
oyster.cafe
/
tangled-core
forked from
tangled.org/core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Monorepo for Tangled
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
tangled-core
/
appview
/
pages
/
markup
/
at
master
1 folder
7 files
Niclas Overby
appview/pages: allow picture and source elements in sanitizer
3mo ago
5c8794ba
extension
appview/pages/markup: add Dashes extension and export NewMarkdownWith Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
3 months ago
camo.go
appview/pages: allow picture and source elements in sanitizer The HTML sanitizer was stripping <picture> and <source> elements from rendered markdown, preventing modern image format usage (e.g. AVIF with fallbacks). Allow these elements and their relevant attributes (srcset, type, media). Signed-off-by: Niclas Overby <niclas@overby.me>
3 months ago
format.go
appview,knotserver: pass along a readme candidate in repo.tree responses this simplifies readme detection and improves page performance. Signed-off-by: oppiliappan <me@oppi.li>
9 months ago
markdown.go
appview/pages: clone rctx before transforming markdown avoid global mutation and weird cross-request interactions. Signed-off-by: oppiliappan <me@oppi.li>
3 months ago
markdown_test.go
appview/markup: add mermaid diagram rendering support Add MermaidJS diagram rendering for markdown content (READMEs, issues, PRs) using goldmark-mermaid with client-side rendering. Mermaid fenced code blocks are transformed to <pre class="mermaid"> elements, which MermaidJS picks up and renders in the browser. Changes: - Add go.abhg.dev/goldmark/mermaid dependency with client-side render mode - Add mermaid extender before highlighting in goldmark pipeline - Allow "mermaid" class on <pre> elements through bluemonday sanitizer - Conditionally load MermaidJS from CDN only on pages with diagrams - Add basic mermaid container styling with dark mode support - Add tests verifying mermaid blocks produce correct HTML output Closes https://tangled.org/tangled.org/core/issues/424 Signed-off-by: Nate Spilman <nate.spilman@gmail.com> Signed-off-by: Seongmin Lee <git@boltless.me>
3 months ago
reference_link.go
appview: strip scheme from `CoreConfig.AppviewHost` Signed-off-by: Seongmin Lee <git@boltless.me>
5 months ago
reference_link_test.go
appview: strip scheme from `CoreConfig.AppviewHost` Signed-off-by: Seongmin Lee <git@boltless.me>
5 months ago
sanitizer.go
appview/pages: allow picture and source elements in sanitizer The HTML sanitizer was stripping <picture> and <source> elements from rendered markdown, preventing modern image format usage (e.g. AVIF with fallbacks). Allow these elements and their relevant attributes (srcset, type, media). Signed-off-by: Niclas Overby <niclas@overby.me>
3 months ago