this post was submitted on 02 Jul 2024
18 points (100.0% liked)

Linux

1258 readers
107 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

For example, there is Material Notes which has a editor toolbar with bold, indented, ~~stroke~~, etc. But this is rendered, exported to json or syntax like Markdown. This app too, in which i write this on lemmy, does the same. We have ☐, ☒, •, ‣ in Unicode, 𝗕𝗼𝗹𝗱, 𝑖𝑛𝑑𝑒𝑛𝑡, s̵t̵r̵o̵k̵e̵, so why not use this?

Basically, what i'm looking for is a text editor with toolbar/keystrokes for Android or Linux, which adds unicode symbols for rich text. It would make reading plain text notes/todo lists cross-device simpler. Yes, there's UnicodePad and Charmap but that's not the same.

edit: something where you mark a word, tap the B in the toolbar or press ctrl+b and it replaces the characters with uc bold characters, no? Tap the list button and it adds uc bullet points, etc...

top 13 comments
sorted by: hot top controversial new old
[–] nmtake@lemm.ee 4 points 4 months ago (1 children)

Some applications can't display some Unicode strings like s̵t̵r̵o̵k̵e̵, so replacing Markdown element like ~strike~ with Unicode equivalent (s̵t̵r̵o̵k̵e̵ ) may not be a good idea if you want portability. I opened your post in text editors and noticed that neovim-qt drops s̵t̵r̵o̵k̵e̵'s combining characters (issue on Github) and just displays stroke instead of s̵t̵r̵o̵k̵e̵; GUI Emacs with my font settings (Noto) doesn't combine the characters and displays s-t-r-o-k-e- (as I said, this may depends on font settings).

[–] MonkderDritte@feddit.de 1 points 4 months ago* (last edited 4 months ago)

Yeah, of course font an tool needs to support it. Well ok, maybe we're not yet there. On the other hand, Emacs and Vim are quite old. It works in Kate, Mousepad, Leafpad... Nano does s-t-r-o-k-e too. Geany does a mix where it displays correctly but each char has two strokes, weird. But that is still good enough.

[–] ElectronBadger@lemmy.ml 2 points 4 months ago (1 children)

SublimeText with this plugin: https://github.com/mvoidex/UnicodeMath

Despite the name, it works for all Unicode characters :)

[–] MonkderDritte@feddit.de 2 points 4 months ago

Ah damn, proprietary.

And looks like it only pastes? I make an edit.

[–] JackbyDev@programming.dev 2 points 4 months ago* (last edited 4 months ago)

s̵t̵r̵o̵k̵e̵

Because it doesn't look like ~~stroke~~.

I'm trying to upload a picture of what it looks like on my phone but it won't work. The lines don't connect between characters. The line in the e seems to either be missing or not present at all. The k is barely visible and I didn't notice it at first.

That said... I do with there was a way to do this easily in more programs without searching online for "Unicode font converter" to be able to get 𝖘𝖙𝖚𝖋𝖋 𝖑𝖎𝖐𝖊 𝖙𝖍𝖎𝖘.

[–] django@discuss.tchncs.de 2 points 4 months ago (3 children)

This shouldn't be too hard to implement in Emacs.

[–] its_randomness@lemmy.ml 1 points 4 months ago

It already is: C-x 8 RET

[–] Shareni@programming.dev 1 points 4 months ago* (last edited 4 months ago) (1 children)

Org-mode mostly does this already. Just needs a shortcut to surround the marked area with the correct symbols.

[–] django@discuss.tchncs.de 1 points 4 months ago (1 children)

Org-mode is splendid and i use it almost every day, but i think what op is asking for is something different. If i want to write something like this:

s̵t̵r̵o̵k̵e̵

i would use +stroke+ in Org-mode. If i then set org-hide-emphasis-markers to t, the + signs are hidden, but they are still there. If i save the file, and open it in another program, it is still +stroke+, instead of the unicode variant. The feature asked for was intended for the following use-case:

It would make reading plain text notes/todo lists cross-device simpler.

Which Org-mode would fail to deliver on.

[–] Shareni@programming.dev 1 points 4 months ago

Export to latex (and to pdf)?

[–] therealjcdenton@lemmy.zip 1 points 4 months ago
[–] 2xsaiko@discuss.tchncs.de 1 points 4 months ago

Why not just use RTF documents?