Monorepo for Tangled tangled.org

improve code blocks in markdown (syntax highlighting and copy-to-clipboard button) #145

closed
opened by gwen.works targeting master from gwen.works/core: copycodeblocks

right now the button's text gets added without the around it. can't figure out why. am i missing sth obvious ?

0
by gwen.works 1 comment
expand 3 commits
deps: add goldmark-highlighting
appview: highlight rendered markdown code blocks
(wip)appview: add copy button

i uhhh meant "without the <button> around it", cant edit pr body

sign up or login to add to the discussion
1
by gwen.works 0 comments
expand 5 commits
deps: add goldmark-highlighting
appview: highlight rendered markdown code blocks
appview: post-process rendered markdown after sanitization
appview: hide [aria-hidden="true"] elements
(wip)appview: add copy button
sign up or login to add to the discussion
2
by gwen.works 1 comment
expand 5 commits
deps: add goldmark-highlighting
appview: markup: highlight rendered markdown code blocks
appview: pages: post-process rendered markdown after sanitization
appview: input.css: hide [aria-hidden="true"] elements
(wip)appview: markup: add copy button to markdown code blocks

round #2 is just my dumb ass making commit messages conform with the contributing guide

sign up or login to add to the discussion
3
by gwen.works 0 comments
expand 6 commits
deps: add goldmark-highlighting
appview: markup: highlight rendered markdown code blocks
appview: pages: post-process rendered markdown after sanitization
appview: input.css: hide [aria-hidden="true"] elements
(wip)appview: markup: add copy button to markdown code blocks
(to-revert)appview: markup: work around the fact that [onload] is cringe
sign up or login to add to the discussion
4
by gwen.works 1 comment
expand 6 commits
deps: add goldmark-highlighting
appview: markup: highlight rendered markdown code blocks
appview: pages: post-process rendered markdown after sanitization
appview: input.css: hide [aria-hidden="true"] elements
(wip)appview: markup: add copy button to markdown code blocks
(to-revert)appview: markup: work around the fact that [onload] is cringe

round #4: sign-off commits and rebase atop main

sign up or login to add to the discussion
5
by gwen.works 7 comments
expand 6 commits
deps: add goldmark-highlighting
appview: markup: highlight rendered markdown code blocks
appview: pages: post-process rendered markdown after sanitization
appview: input.css: hide [aria-hidden="true"] elements
(wip)appview: markup: add copy button to markdown code blocks
(to-revert)appview: markup: work around the fact that [onload] is cringe

is this still being worked on? (i see some wip commits)

(no rush whatsoever, just checking in to see if i can help in any way!)

yeah sorry for the whole-month silence lol, its mostly tailwind shenanigans and i had to work around it and it's quite ugly

there was also the thing with sanitizing user html later, ill try to finish it over the weekend, idk how much conflicted i have become with main lol (long running feature branches = hell)

FYI there is another person working on just the syntax highlighting side of things, see Discord: https://discord.com/channels/1361963801993285692/1392475067962753116.

closing this now, syntax highlighting in md blocks has been added.

closed without merging
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 3
AT URI
at://did:plc:dpng6jhpwdz7yifx722rh7w6/sh.tangled.repo.pull/3lppegz7mnj22