alpha
Login
or
Join now
ronshavit.com
/
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
core
/
appview
/
pages
/
markup
/
at
sl/md-editor
1 folder
10 files
Seongmin Lee
wip: appview/pages/markup: markdown normalizer
3mo ago
c5643f17
extension
appview/pages/markup: add Dashes extension and export NewMarkdownWith Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
5 months ago
camo.go
appview: don't use camo for non-external readme images Signed-off-by: Seongmin Lee <git@boltless.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>
10 months ago
markdown.go
appview: don't use camo for non-external readme images Signed-off-by: Seongmin Lee <git@boltless.me>
3 months ago
markdown2.go
wip: appview,blobstore: v2 markdown renderer New renderer that is more pure and receive ownerDid to generate blob URLs including the user DID. Issue: PDS doesn't serve pre-uploaded blobs, so preview fails. We need extra blobCache just for pre-uploaded blobs or just do markdown rendering on client side. NOTE: considering we can't implement markdown normalizer with goldmark, maybe it's better to split this as separate, embedable service Signed-off-by: Seongmin Lee <git@boltless.me>
3 months ago
markdown_normalizer.go
wip: appview/pages/markup: markdown normalizer Issue: goldmark doesn't distinguish link and reflink... we can't distinguish `[foo](at://bar)` and `[foo][at://bar]` Signed-off-by: Seongmin Lee <git@boltless.me>
3 months ago
markdown_renderer.go
wip: appview/pages/markup: markdown normalizer Issue: goldmark doesn't distinguish link and reflink... we can't distinguish `[foo](at://bar)` and `[foo][at://bar]` Signed-off-by: Seongmin Lee <git@boltless.me>
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>
5 months ago
reference_link.go
appview: support blob upload from markdown editor This commit doesn't include blob rendering Signed-off-by: Seongmin Lee <git@boltless.me>
3 months ago
reference_link_test.go
appview: support blob upload from markdown editor This commit doesn't include blob rendering Signed-off-by: Seongmin Lee <git@boltless.me>
3 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>
5 months ago