madskristensen/MarkdownEditor2022

Embed code snippet from existing file in your project without copy/pasting.

Opened this issue · 0 comments

I think this might be a great feature especially if you are learning new concepts and want to have really good notes for the topic to sink in or you are doing a demo and you can have your notes right there in your project.

Here is the idea: ------------

You have your standard Console or Blazor project but in addition to that you add a SharedProject "green icon" which will act as a bucket for your markdown files. There you start creating markdown files with new concepts. (This has been always my thing, by the way).

As a user of the markdown Markdown Editor v2, I often find myself needing to embed code snippets from existing files within my project directly into my markdown documents. Imagine when you learn a new concept instead of burying your notes in OneNote and most likely never find them again, you can have all notes and code snippet in the markdown project.

It would be cool if you could specify exactly what block of code you want to see by indicating the starting and ending line number in your project file. Wow! This will be very helpful!

This feature would greatly improve workflow by allowing to easily include code examples from the project files without having to manually copy and paste them.

Thanks