alpha
Login
or
Join now
alice.pds.demo.boltless.dev
/
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.
This repository has no description
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
2
Pulls
1
Pipelines
core
/
appview
/
pages
/
markup
1 folder
7 files
at
053117e52dfed49fe255b7211bda04d1d9e68bb5
Anirudh Oppiliappan
appview/pages/markup: add Dashes extension and export NewMarkdownWith
5mo ago
260976e4
extension
appview/pages/markup: add Dashes extension and export NewMarkdownWith Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
5 months ago
camo.go
appview/pages/markup: add Dashes extension and export NewMarkdownWith Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
5 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>
10 months ago
markdown.go
appview/pages/markup: add Dashes extension and export NewMarkdownWith Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
5 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>
5 months ago
reference_link.go
appview: strip scheme from `CoreConfig.AppviewHost` Signed-off-by: Seongmin Lee <git@boltless.me>
6 months ago
reference_link_test.go
appview: strip scheme from `CoreConfig.AppviewHost` Signed-off-by: Seongmin Lee <git@boltless.me>
6 months ago
sanitizer.go
markup/sanitizer: build bluemonday policies once at package init Both policies were rebuilt on every NewSanitizer() call. This included compiling the chroma syntax-highlight class regex by iterating chroma.StandardTypes and joining ~200 type names into a regex alternation, on every invocation — including from inside the pull request HTTP handler, making it a per-request cost. Move both policies to package-level vars initialized once in init(). NewSanitizer() is now a pair of pointer assignments. This is safe per the bluemonday README: "it is safe to use the policy in multiple goroutines". Signed-off-by: Matías Insaurralde <matias@insaurral.de>
5 months ago