waveterm/frontend/app/view/preview
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
..
csvview.less rearrange view files into directories 2024-08-01 13:06:18 -07:00
csvview.tsx preview refactor for keyboard/focus (#303) 2024-09-02 16:48:10 -07:00
directorypreview.less remove bottom margin and unused rules in directorypreview 2024-09-04 15:42:42 -07:00
directorypreview.tsx preview refactor for keyboard/focus (#303) 2024-09-02 16:48:10 -07:00
preview.less Table of contents for markdown preview (#323) 2024-09-04 21:15:39 -07:00
preview.tsx Table of contents for markdown preview (#323) 2024-09-04 21:15:39 -07:00