BoostIO / BoostNote-Legacy

This repository is outdated and new Boost Note app is available! We've launched a new Boost Note app which supports real-time collaborative writing. https://github.com/BoostIO/BoostNote-App
Other
17.06k stars 1.47k forks source link

Support for plug-in like Ultisnips #3466

Open swithun-liu opened 4 years ago

swithun-liu commented 4 years ago

Current behavior

There is no code block engine now many times, some people have to write repetitive text again and again and Ultisnips is really a powerful extension for vim so if Boostnote has a similar extension, I would appreciate for it very much.

Expected behavior

Steps to reproduce

Environment

Flexo013 commented 4 years ago

It seems like you are trying to use Boostnote like an IDE, which it really isn't made for. It's not designed to be a code editor.

Plugin support is planned for the rewritten BoostNote.next, which will allow plugins to hook into the application.

arcturus140 commented 4 years ago

@lancerXXXX note that Boostnote already supports this. If you write markdown it automatically completes repetitive text formating elements for lists, ordered lists, tables, table of content, quotes and code.

I am not familiar with Ultisnips so you might want to describe a bit more the actual behaviour that you'd like to see improved in Boostnote.

swithun-liu commented 4 years ago

@arcturus140 I use markdown to write math notes with latex Latex code is exceptionally long but extensions such as Ultisnips for vim, and HyperSnips for Vscode can make I type mathematical formulas as quickly as writing it on paper This is why I started write math notes with markdown I have vim and vscode but I still want to use applications such as Boostnote,because it can give me a integrated and cross-platform environment to take notes

arcturus140 commented 4 years ago

This would require syntax definition files that define con­texts to correctly identify the current scope, such as Markdown, Latex, Plant UML, Mermaid, Admonition, Flowchart and so on.

Many of the snippets itself would probably not be required to write from scratch, as lots of them are available and an existing snippet format could be adopted.

@lancerXXXX out of curiosity, may I ask you why are you using Markdown instead of LaTeX?

swithun-liu commented 4 years ago

@arcturus140 for typography, markdown is enough for me , and the syntax is more concise, and most markdown previewer also supports latex mathematical formulas, plantuml, mermaid .. For me , it's powerful enough and fast enough, so I migrated all my subject's notes to mardown