waveterm/frontend
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
..
app Table of contents for markdown preview (#323) 2024-09-04 21:15:39 -07:00
layout add back border radius 2024-09-04 15:37:16 -07:00
types Add user setting for the editor minimap (#321) 2024-09-04 14:00:29 -07:00
util preview refactor for keyboard/focus (#303) 2024-09-02 16:48:10 -07:00
wave.ts preview refactor for keyboard/focus (#303) 2024-09-02 16:48:10 -07:00
yarn.lock working on more concepts, tabbar, ids, etc. 2024-05-13 15:40:52 -07:00