I've been working on a text editor that uses the chain-of-responsibility design pattern that provides the ability to edit Markdown, AsciiDoc, reStructuredText, and similar content.
Here's yet another guide to building a text editor, using JavaFX, rather than C from scratch:
The second article depicts how the chain works. Using a chain makes combining different features much like snapping together lego blocks. Here's a video of the editor in action---albeit outdated---showing a variable processor, an R processor, and a Markdown processor chained together:
Here's yet another guide to building a text editor, using JavaFX, rather than C from scratch:
* https://bell-sw.com/announcements/2020/11/02/TeXnical-Writin...
* https://bell-sw.com/announcements/2020/12/10/TeXnical-Writin...
The second article depicts how the chain works. Using a chain makes combining different features much like snapping together lego blocks. Here's a video of the editor in action---albeit outdated---showing a variable processor, an R processor, and a Markdown processor chained together:
* https://www.youtube.com/watch?v=u_dFd6UhdV8