[Standalone tool] Wikitext simple syntax highlighting for TiddlyWiki5 (in Codemirror5 editor)

302 Moved Temporarily.

1 Like

@w6iyes – Welcome to the community.

The project seems to be interesting, but I had to remove the huge JSON (ZIP) file from the initial post.

It would have been easier to post some screenshots, what your app can do and add a link to where we can test it.

Since your app is a considerable effort, I assume you are a programmer. So it would be nice if you post a link to a GitHub, GitLab … repository, where we can review the code.

It would also be easy to publish a demo at GH- or GitLab-pages. So users can decide, if they want to download the app or test it online.

Talk TiddlyWiki is a discussion forum. It’s not intended to be used as an app distribution platform, because it’s not designed that way.

Kind regards
Mario

2 Likes

I’m sorry, I feel extremely ashamed and embarrassed. I didn’t know the community didn’t allow sharing custom tool.

However, this is just a simple offline webpage for standalone use, and it’s not (and I don’t have the capability to) designed for online testing.

Unzipping it reveals the complete source code, which can be scanned for viruses.

It’s not much different from the JSON file of the sharing plugin, both package all resources and source code.

So, is there any way to allow uploading attachment to share this offline webpage, or to obtain some kind of verification from an online antivirus platform?

Sorry, I did not intend to make you ashamed or embarrassed. We had some serious problems lately with spam posts coming from bots. That’s the reason why we needed to review the first post from new users.

We have to be extra careful with new users. Your account has no additional info and a somewhat cryptic name. But the main problem for me was the attachment.

It was a ~700kByte ZIP file in a “.JSON” attachment. We do not have any infrastructure, that can scan such content. So we do have to do that manually in our spare time.

I did open the ZIP in a sandbox and had a view at the code. The size of the unpacked stuff is 3.2MByte of JS source code and includes a lot of CodeMirror libraries. To be safe, I would have needed to manually compare them with the original cm-code file by fiel.

I did suggest, that you add some screenshots to your original posts. You can still edit it and do so. So a discussion can happen.

May be @linonetwo can help with a public space to visit a demo and may be some space for the source code.

I know that you did put a lot of effort into the editor. Especially the auto-complete functions are nice. … But we have to find a way to publish the stuff externally.

Kind regards
Mario

I for one really look forward to seeing it. I hope you can easily find some hosting. Tiddlyhost is well loved around here, with a generous free tier. If you’re building JS code, I imagine you easily have the technical skills to use GitHub, and GitHub Pages is another simple way to share static content.

Hi @w6iyes , thank you for sharing :heart: The wiki in the link you provide above has the official Markdown plugin installed - but not the plugin you’re posting about (!?) Do you think you could make it so that wiki could demo your tool? So it is possible to test it there?

Much appreciated.

It’s a stand alone tool. You need to download the ZIP file → extract → trust → and run the HTML file.

2 Likes

Thanks for your support! Yes, this is a zip file containing offline web pages, not a Tiddlywiki plugin, because I don’t know how to create plugins, nor do I have the ability to integrate this editor into Tiddlywiki.

I suggest you try downloading this zip file and following the instructions, if you’re interested. Of course, don’t forget to scan for viruses. I’d be happy if this editor helps you.

Thank you for posting this. I took a look at the online demo included.

It looks as though you’ve put a great deal of work into this. Thank you.

It will probably never be a tool for me. I’m the sort of developer who turns off all the automatic completion popups in my editors. I don’t object to them being there, but only if I call for them (for instance, with CTRL-dot.)

But I see the things, you’re developing, and I think many people would find this helpful. But it’s still somewhat buggy. The first thing I noticed was that the parameters shown in the help here seem to be in an arbitrary order: template, editTemplate, variable, counter, storyview, history, limit, filter, emptyMessage, join. I would expect them either to be sorted alphabetically, sorted by expected usage (filter is probably by far the most common one), or sorted in the order defined in the docs, filter, limit, template, editTemplate, join, variable, counter, emptyMessage, storyview, history

And a second issue is that your hover help seems not to be context-sensitive.

When I type <$list it gives me that (strangely ordered) list of parameter to the $list widget. But when I type <$list filter, instead of giving me information about the filter parameter to the $list widget it gives me information about the filter operator.

I didn’t go any further. As I said, this tool is not for me. But I do encourage you to keep developing it.

Okidok! I’ve now tested it, thanks for making a demo online. That certainly looks like a power editor! And while I like it per se, I have some critical questions:

Is the idea that editing tiddlers should thus be done outside of TW? [EDIT: when writing that, I’d forgotten the headline to this which I believe answers this question already. Anyway…] …is it somehow possible to get that editor to show inside tiddler editview or at least inside TW? If it is not inside of TW, I can’t use it because I typically do a lot of navigation between tiddlers when editing a tiddler. (…and if it is possible - even intended - to be used inside a TW, dare I ask you to make the demo show this?)

Further, , since TW is extremely customizable (and I customize my TW’s and tools therein heavily), to what extent would I as a user be able to modify it? I 'm guessing I’d have to know javascript to do this, right? (Which I don’t know.) For example, this is totally unreadable for me (fontsize but especially colour).

Again, thank you for sharing!