Commit Graph
579 Commits
Author SHA1 Message Date
Evan Simkowitz dc16d9be3d fix makeConnRoute in preview 2024-09-09 12:42:47 -07:00
Evan Simkowitz 0d040f1155 use regular@ syntax for icon button class 2024-09-09 12:38:49 -07:00
Evan SimkowitzandGitHub 9e3c9f9253 Make IconButton its own element, move CopyButton to use it (#357) 2024-09-09 12:35:53 -07:00
Evan Simkowitz c3924daac3 fix variables for markdown code 2024-09-09 12:09:31 -07:00
Evan Simkowitz 45acc62266 remove undefined variable 2024-09-09 12:08:32 -07:00
Evan Simkowitz 331724c6c3 make code only transparent in pre tags 2024-09-09 12:05:15 -07:00
Evan Simkowitz 1cf3671ac4 remove classname from copybutton since it's already applied by default 2024-09-09 12:01:57 -07:00
Evan Simkowitz 942f7c4431 remove code background 2024-09-09 12:00:47 -07:00
Evan Simkowitz 76d5288aba apply slug after sanitize 2024-09-09 11:58:55 -07:00
Evan SimkowitzandGitHub 7c45b3679f Add syntax highlighting to the Markdown element (#356)
Also fixes the styling for the copy button
2024-09-09 11:56:21 -07:00
Mike SawkaandGitHub f62d96ae99 fix url navigation (#353) 2024-09-07 18:22:13 -07:00
Evan Simkowitz 5e80aeb22a remove unnecessary callback 2024-09-07 11:20:28 -07:00
Evan Simkowitz f2050f6155 use built-in slug prefix 2024-09-07 11:18:38 -07:00
Evan Simkowitz 97b9760109 make internal heading links work 2024-09-07 11:10:10 -07:00
Evan Simkowitz b08af477bf fix typing some more 2024-09-07 11:01:46 -07:00
Evan Simkowitz 910683a825 clean up typing for markdown, add focusedHeading state for future links work 2024-09-07 10:59:33 -07:00
Red J AdayaandGitHub b278d11aca do no animate tabs on load (#351) 2024-09-06 17:41:00 -07:00
Evan Simkowitz 1591a0ca26 fix extern links md 2024-09-06 17:30:19 -07:00
Evan Simkowitz cab701d3ea fix resolveOpts props error in md image 2024-09-06 17:23:30 -07:00
Evan Simkowitz 88158289d2 remove debug log 2024-09-06 17:13:30 -07:00
Evan Simkowitz 6117929081 fix links in md preview when there's more than one heading with same name 2024-09-06 17:11:11 -07:00
Evan Simkowitz 1a7fb41182 Add back memoization for toc 2024-09-06 16:32:29 -07:00
Evan SimkowitzandGitHub afe73c3e85 Make the debounced node inner rect hook more reliable (#350)
Rather than try to track the transition state, which was proving
unreliable, I am just directly tracking the node state and determining
whether to debounce the inner rect based on whether the user has the
prefers-reduced-motion setting or query, whether the node is resizing,
and whether it's currently magnified. I'm then using the actual
animation time setting to determine how long to debounce.
2024-09-06 16:20:27 -07:00
sawka 30c1d56be6 fix condition 2024-09-06 16:13:16 -07:00
Evan Simkowitz bd43a4b61d clean up imports for markdown 2024-09-06 15:19:15 -07:00