-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Feature Request] Provide Snippets #22
Comments
Hi @linonetwo! good idea! I will add some snippets! |
@Gk0Wk can we let 3rd party snippet have preview (usage demo) field too? |
@linonetwo yes, but the CME plugin missing a lot of documents. That is the problem. @kookma If you would like to add some snippets, just add a tiddler with the type of
Another way is to use TW's native snippet system. And the |
Maybe should have both So it can be in both cme / menu and official snippet menu. |
@Gk0Wk - Thank you for the instruction! I will add both! |
CME can read system snippets, too. If you write both types of them, snippets may appear twice. So should just write system snippets. |
@Gk0Wk I think tiddler with fields for both system and cme, and tag for both, can work in both side. |
Hi Mohammad, I have been using your great plugins for a while, they help me a lot both in my public and private wikis!
I found one thing that may have a huge positive impact on your plugin libraries: Would you consider adding snippets to your plugin?
For example, this is the one added by myself into my wiki:
Then I can use your dynamic table more easily, without the need to open the document site and copy the code.
Your document site is beautiful and very clear, but I think for the most case, the API of your macro is clear enough, so we might not need to read the document, and can just figure out how to use these macros by looking at the fields.
So it will be much convenient if you bundle some snippets alongside with your plugins!
P.S. Gk0Wk is creating a code mirror plugin that will list tiddlers with
$:/tags/TextEditor/Snippet
tag, if the user types/
in the editor. It will feel just like how notion and other modern note app works.(base framework is in https://github.com/Gk0Wk/TW5-CodeMirror-Enhanced , he is working on snippet feature today, not complete yet)
The text was updated successfully, but these errors were encountered: