main ← feature/ai-attr-for-details-block
This commit adds an attribute for details, code, and quote
blocks in markdown to… indicate that the content within
is partially or wholly AI generated, which is important now
that everyone has access to AI tooling. We need to maintain
human-to-human trust.
This indicator will show in the RTE and in the rendered post.
Hovering over it will show the title "This content has been partially or fully generated by AI"
For details, you do:
```
[details="Title" ai=true]
> This is some AI writing
[/details]
```
For code you do:
````
```lang ai=true
puts "some AI code"
```
````
For quotes you do:
```
> [!AI]
> This is some AI writing
```
<img width="788" height="414" alt="image" src="https://github.com/user-attachments/assets/d967b08f-b674-4941-a397-af1bd273daba" />
<img width="794" height="255" alt="image" src="https://github.com/user-attachments/assets/fdc4a20b-0123-4cd4-8725-0f9c59981347" />
Also added something in the (+) menu of the composer,
the "Add AI content..." item which has a submenu for Code,
Quote, or Details which prefills the metadata for each of these
for you & inserts into the composer:
<img width="509" height="357" alt="image" src="https://github.com/user-attachments/assets/0b7fa6b8-e5c5-48bc-970f-265fc8b5ce48" />