Allow Kerlig to create files
Louis Faure
Make Kerlig recognize specific code block tags and treat their contents as files.
Example: A custom prompt that turns selected text into an ICS calendar event would output:
```ics
EVENT DATA GENERATED BY PROMPT
```
If the code block is tagged
ics
, Kerlig extracts its contents, generates an .ics file, and shows the file inline instead of the code block. Clicking opens it in the default macOS app; right‑click provides options to save, open with another app, or reveal the raw contents. Similar to text correction feature, TAB key could be used to switch between file view and raw code block view.Volim Sebe
This is a great idea!
Jarek Ceborski
nice idea!