Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TiddlyRoam Codemirror plugin #13

Open
ConstantinosM opened this issue May 20, 2020 · 6 comments
Open

TiddlyRoam Codemirror plugin #13

ConstantinosM opened this issue May 20, 2020 · 6 comments

Comments

@ConstantinosM
Copy link

Hi Joe,

Thank you so much for TiddlyRoam! It's a great tool! My question might be naive but I couldn't find any information online. Codemirror plugin seems not working with TiddlyRoam. The only information I managed to found was that the editors (TiddlyWiki vs TiddlyRoam) are different (?). Could you please let me know if there is any way to enable the Codemirror plugin with TiddlyRoam?

@jokroese
Copy link
Owner

jokroese commented May 20, 2020

Hi @ConstantinosM, glad you're enjoying it!

Can you give me an example of something that you want to do with Codemirror? The plugin loads fine in TiddlyRoam. I'm not familiar with Codemirror so it would be helpful to know which features you are expecting from the plugin so that I can help you enable them in TiddlyRoam.

@ConstantinosM
Copy link
Author

Thank you @joekroese for your response! From the CodeMirror plugin webpage, you can see some examples in editing mode. Indeed, when I installed the plugins i did not receive any errors. However when I am in editing mode I cannot use CTRL+F to search for a word in the text, there is no current line highlight, and no bracket auto-completion as in the CodeMirror Demo (there, I could do all these stuff). I also installed the Sub-Lime theme and enabled it in the Control Panel/Settings as indicated but I did not see any change. I am using TiddlyDesktop by the way but I tried my html file also in Firefox.

There is another plugin that I also installed Bookmarks without a problem but seems that it works partially (no tag filtering). I am quite new to TiddlyWiki and I am wondering if plugins are getting overriden ( if there are conflicts) without indication of an error, but they exhibit partial functioning (I did not want to create a "monster" full of plugins that seem to be installed properly but not working).

@ConstantinosM
Copy link
Author

Please ignore my comment about the second plugin: Bookmarks. I managed to make it to work, there was no issue from TiddlyRoam's side regarding that plugin.

@ConstantinosM
Copy link
Author

Any updates on this one? Shall I give up on using Code Mirror with TiddlyRoam?

@jokroese
Copy link
Owner

jokroese commented Jun 4, 2020

Hey @ConstantinosM! I haven't had much time for tiddlyroam the last few weeks. I had a little look when you first raised the issue but couldn't figure it out.

Finally got round to doing an overhaul of how tiddlyroam is set up and I've got the codemirror plugin working.

Screenshot 2020-06-04 at 23 30 00

Hopefully should be pushing the code over the next few days.

@ConstantinosM
Copy link
Author

ConstantinosM commented Jun 5, 2020

WoW :O! Awesome!That's great @joekroese! Does it work only by specifying the type of tiddly as markdown? I noticed that I am able to use it only in markdown mode but links and Latex plugin (as an example) do not work at the moment. I guess your code will make it fully functional :)

Honestly, Tiddlyroam is a life changing tool for me and thank you for still working on this and providing it freely!

No rush! Please kindly let me know once you update your code, how i can update my tiddlyroam.html file (I havent forked it, just downloaded it).

Many Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants