Ich kaufe Bilderbücher für mich und bringe sie in den Kindergarten, besser sie werden gelesen als im Regal zu verstauben. Diese beiden vermitteln Wissen. Ich sage den Kindern: Jeden Mittwoch bin ich in einer Druckwerkstatt.
#Bilderbücher #Druckwerkstatt #Typograf #Litografin #kindergarten

Revisiting #typograf for #KateEditor. It’s actually a lot easier than I made it before. So, install typograf-cli

npm install typograf-cli -g

In Kate, add External Tool.

Name: Typograf (or anything)
Executable: typograf (with `-g` installation flag, it should be in your $PATH)
Arguments: --stdin -c /home/andrew/.config/typograf/typograf.json
Input: %{Document:Selection:Text}
Working directory: empty
Mime types: empty
Save: none
Trigger: none
Output: Replace selected text
Editor command: typograf

`-c` is for a settings file if you want to change the default behavior. It really wants a full path for some reason, so no `~/`.

You can customize these to process the entire document, for example. But I just add a keyboard shortcut, and it does the magic on a selected text.

---

Bonus, in #micro you can add

"Alt-y": "command:textfilter typograf --stdin -c /home/andrew/.config/typograf/typograf.json",

to `.config/micro/bindings.json` for the same result.

---

https://github.com/typograf/typograf-cli

GitHub - typograf/typograf-cli: Командный интерфейс для Типографа

Командный интерфейс для Типографа. Contribute to typograf/typograf-cli development by creating an account on GitHub.

GitHub

As soon as a non-Electron based IDE ports this https://marketplace.visualstudio.com/items?itemName=rusnasonov.vscode-typograf I would most likely move over there. Kate? Geany? Notepad Next? Anyone?..

They don’t seem to care about us “text pretty!” people. So for now, VS Code/Codium is just so much better. And feels snappier on Linux, mayhaps?

#typograf #Geany #GeanyIDE #KDE #Kate #KateIDE #NotepadNext #VSCode #VSCodium

vscode-typograf - Visual Studio Marketplace

Extension for Visual Studio Code - Helps to automatically place the non-breaking spaces, correct small typos, replace the quotation marks to a correct format and much more.