brianpetro / jsbrains

A collection of low-to-no dependency modules for building smart apps with JavaScript
https://jsbrains.org
MIT License
39 stars 10 forks source link

FR Smart Chunks Markdown Adapter should exclude/handle the "data URI scheme" file type #8

Open riverai opened 1 year ago

riverai commented 1 year ago

Hi, hope the plugin will exclude this file type by default in the next version, such as this example below.

data:[][;base64],

In fact this is a very streamlined example, in reality this can have hundreds of thousands of characters.

I lined up some of my Markdown notes that used to use this pattern, and they consumed sky-high api quotas.

Now I've done the cleanup of these Markdown manually. However, it would be nice if the plugin would automatically exclude this file type later.

brianpetro commented 3 months ago

Recorded response https://youtu.be/CJyeSJ60eXk