waveterm/frontend/app
Evan Simkowitz 072730f7eb
Table of contents for markdown preview (#323)
Adds a table of contents in the markdown preview, with a button in the
header to toggle whether to show the TOC. When a user clicks one of the
TOC elements, the preview will scroll to the corresponding heading.

I've also cleaned up some MD preview styling that was inconsistent and
causing the preview to overflow unnecessarily. This also fixes some
terminology in the preview code.

<img width="574" alt="image"
src="https://github.com/user-attachments/assets/abb18ba9-21d3-4315-bdc3-e4bdcca39a4c">
2024-09-04 21:15:39 -07:00
..
asset Make magnify icon always visible, transition from magnify to minimize (#197) 2024-08-05 16:13:26 -07:00
block Table of contents for markdown preview (#323) 2024-09-04 21:15:39 -07:00
element Table of contents for markdown preview (#323) 2024-09-04 21:15:39 -07:00
hook Make default monaco theme transparent, remove import errors (#308) 2024-09-03 18:43:59 -07:00
modals Fix the client version in the about modal (#315) 2024-09-03 21:45:44 -07:00
store Add user setting for the editor minimap (#321) 2024-09-04 14:00:29 -07:00
tab focus/key handling for directory preview (#291) 2024-08-29 17:00:24 -07:00
view Table of contents for markdown preview (#323) 2024-09-04 21:15:39 -07:00
workspace implement cmd:i, hook up telemetry switch, fix some settings types 2024-09-02 20:21:35 -07:00
app.less set prefers-reduced-motion as a global override 2024-08-30 12:48:06 -07:00
app.tsx focus/key handling for directory preview (#291) 2024-08-29 17:00:24 -07:00
mixins.less directory preview fixes (#130) 2024-07-25 21:14:21 -07:00
reset.less Update copyright indicators on a bunch of files (#255) 2024-08-20 17:01:29 -07:00
theme.less Table of contents for markdown preview (#323) 2024-09-04 21:15:39 -07:00