editor icon indicating copy to clipboard operation
editor copied to clipboard

Feature request: Block to display linked text files

Open trych opened this issue 4 years ago • 0 comments

This is somewhat connected to the code block bug I reported earlier, but also an idea on its own:

I think it would be really great if there could be a block where I could just link a text file and then the contents of this text file are loaded into the block and simply displayed.

This would be very beneficial for maintaining and inserting code snippets. I would much prefer to edit, format and update these code snippets externally in an actual code editor, but would at the same time love to have them loaded into a Kirby editor block and have them update there if I update the original file.

So it's basically similar to the image block, just that we could link a text file instead of an image.

Would be happy to hear somebody else's thoughts on this.

trych avatar May 01 '20 19:05 trych