[SUGGESTION] CSS picking, ToC and Tufte layout
CompletedCurrently the only way to change de CSS for the preview is on the preferences menu. That is not very practical. My suggestions is to add a css "style picking bar" on the bottom of the screen (similar to what is possible on Marked). Or, at least, the possibility to do so from the menu-bar, like on Multimarkdown Composer.
Talking about Multimarkdown Composer, a ToC for navigation would be nice.
Finally, the CSSs are great; but I would suggest adding the Tufte CSS as well.
It might require a little bit of tinkering. In order to get it to work properly on Marked, I pre-process the text with pandoc with a filter that automatically turns footnotes into sidetones.
-
We'll consider the possibility of per-document CSS in a future update.
ToC is not on the roadmap. nvUltra is designed to quickly search and edit shorter "notes" as opposed to longer, complex, structured documents. (Of course, either app is capable of handling short or long files). The ToC function is something that will remain a feature of Composer, rather than nvUltra, at least for the foreseeable future.
We're looking at additional CSS options to include with nvUltra, but nvUltra and Marked are designed to work together, So if you have a complex workflow that requires Marked, you can still used Marked with nvUltra as your editor.
0 -
PS> There is nothing special about the CSS files used for the preview. Any valid CSS can be used. You can use any CSS that you have rights to use (e.g. CSS from the internet or other applications that you have, etc.)
0 -
The Tufte layout CSS requires some extra steps to have the footnotes appear as sidenotes/margin-notes. In Marked this means pre-processing it with Tufte Pandoc CSS (https://github.com/jez/tufte-pandoc-css). If this could be sorted out and somehow built-in into the system, it would be really something. Although I think it is unlikely.
By the way, the option to have related notes appear on the sidebar. Does it show linked notes as well? By this I mean, both in-bound and out-bound links.
0 -
I understand why you would want to keep ToC an exclusive feature of MMD Composer. The downside is that handling large text files is virtually impossible in nvUltra.
0 -
Custom pre-processing isn't going to be a part of nvUltra, and will remain in the domain of Marked. But nvUltra is designed to easily allow you to use Marked for just this sort of reason.
The connected notes functionality is based on the text content of the notes, not on having to specifically state a connection (e.g. by linking). The notes are sorted by similarity. No such system is perfect under all circumstances, but it generally does a reasonable job of showing the notes that are most similar to the "root" note. Of course, this system works best when you have a wide variety of notes, so it is clearer which ones are similar and which ones are different. It's mainly intended as a "brainstorming" tool, since you can quickly search for specific notes with the search functionality already.
Yes -- many users may find that editing longer documents is best for something like MMD Composer, which is why nvUltra makes that easy (context menu in the notes list, or in the File menu in the menu bar). (especially with Composer's ability to share data with iThoughts and other OPML-based outliners or mind-mapping programs)
That said, there is nothing that prevents you from editing files of any length in nvUltra. (In fact, currently nvUltra is better able to handle really long files than Composer, but once the updated engine is put back in Composer, they'll be equivalent in that regard)
0 -
Recent betas support per-file CSS setting, in the same way that themes work.
0 -
> Recent betas support per-file CSS setting, in the same way that themes work.
Fletcher, I tried but I could not make sense of this.
0 -
Simply use the menu bar to select preview CSS, and nvUltra will remember your choice for that file when it changes from the default.
0 -
Inserting {{TOC}} in Version 1.0.0 (39) will generate a table of contents that can be used for navigation.
0 -
Frank -- the ToC being referred to is from MultiMarkdown Composer for the editor side, not the preview. It allows navigation, but also rearranging your document (similar to outlining software). It's a great feature, but out of scope for nvUltra.
0
Please sign in to leave a comment.
Comments
10 comments