Red J Adaya and GitHub
b3f7e7a2b9
fix default button text color ( #370 )
2024-09-12 17:49:57 -07:00
Red J Adaya and GitHub
df2af04a6e
telemetry fix ( #365 )
2024-09-11 09:26:43 -07:00
Evan Simkowitz
29db989623
Revert "Keep changes in preview after save ( #360 )"
...
This reverts commit 13ac6af4d0 .
2024-09-10 14:27:11 -07:00
Evan Simkowitz and GitHub
13ac6af4d0
Keep changes in preview after save ( #360 )
...
A bit hacky, but should allow preview to update to latest file contents
after save
2024-09-10 13:37:30 -07:00
sawka
766a976718
errorboundary fallback, errorboundary in block frame header. fix workspace error boundary
2024-09-09 18:20:57 -07:00
Evan Simkowitz
0d040f1155
use regular@ syntax for icon button class
2024-09-09 12:38:49 -07:00
Evan Simkowitz and GitHub
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 Simkowitz and GitHub
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
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
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
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 Simkowitz
bd43a4b61d
clean up imports for markdown
2024-09-06 15:19:15 -07:00
Evan Simkowitz and GitHub
9f5ccddad2
Improve markdown TOC scrolling ( #349 )
...
Use a better system for scrolling using scrollTo on the
OverlayScrollbars ref. This lets me get the heading as close to the top
of the viewport as possible without the convoluted CSS tricks I was
trying before.
2024-09-06 15:11:46 -07:00