-
-
Notifications
You must be signed in to change notification settings - Fork 187
Closed
Labels
Description
IIUC our sync-docs
stuff is broken — a directive like > TYPES: svelte
will be replaced with the content, which is then written back to disk. The next time the script runs, there is no > TYPES: svelte
, so nothing ever subsequently updates.
If we really must have authored and generated content in the same file — and I maintain that we'd probably be happier in the long term if we didn't! — then at the very least we'll need to preserve these directives. Or rather, we'll need start and end boundaries, so something like this:
> START TYPES: svelte
> (inserted content here)
> END TYPES: svelte