mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#formatting

0 Beiträge0 Beteiligte0 Beiträge heute

TIL: If you are using a language server capable of autoformatting, formatting your whole file in Neovim is as easy as calling vim.lsp.buf.format().

And since LSP formatters use edit commands instead of replacing your whole file, Neovim can keep track of the cursor position, marks, and all kinds of other stuff that wasn't possible with just `:%!formatter`.

I've replaced my custom tiny autoformatting plugin with this and I don't regret it.

codeberg.org/scy/dotfiles/comm

codeberg.orgMaking sure you're not a bot!

I've just finished reading this blog post regarding the markdown Syntax by RL Dane

He is also given a brief history of the Computing Hardware and software that he has used ever since he was a little Padawan.

The blog post is just a few minutes to read and you shall learn something good from it.

TLDR is; use {smackdown} markdown for everything you write that needs formatting and be truly platform independent in your formatted text creation.

When you truly understand what he means, it is literal total freedom with formatted text and you don't even need to learn tex or LaTeX, since you will not be writing a book.

When you do that you will have to read my posts regarding tex and LaTeX, and those are blog posts I haven't released.

For me markdown has been important, ever since I was working on waffle bulletin boards many many decades ago

*Bold* _underline_ /italic/ was the syntax that we used back then.

Our waffle bulletin board had a special text formatting routine which Made these codes look like they were actually bold underline and italic when we were viewing those emails.

On the #AmIRC channel on Dalnet we also had a formatting routines for our clients, mine was AmIRC that converted these codes in a similar fashion.

So in true Essence markdown has been with us for a very very long time; we just didn't call it markdown then but we made sure that our text formatting had nothing to do with the computer platform we happen to be typing on.

rldane.space/why-i-love-markdo

#Markdown #formatting #programming #Tex #LaTeX #HTML

@rl_dane

Can anyone recommend a way to automatically format the HTML in a Rails view template that uses ERB?

* prettier can format HTML, but messes up the contents of the ERB tags
* erb_lint can format the contents of the ERB tags and does _some_ limited formatting of the surrounding HTML
* there are a bunch of prettier extension node packages that claim to handle ERB, but as is all too often the case they all seem to be dead

Any advice would be much appreciated!

#ruby#erb#html

I am looking for a #text #formatting #tool, #Office #Plugin or magical website that will #convert a fairly normal text format, to a more usable format.

I have old #Books of 72 character wrapped lines, with a newline after each. Paragraphs are single blank lines.

Words may be hyphenated to wrap nicely.

Office would want each block-line -> one single line, with a paragraph break in between.

It doesn't seem hard and it seems common enough problem!

#LibreOffice#Archive#Apps
Antwortete im Thread

I just ran

`wc -m ~/gate/pgm/hugo/quickstart/content/posts/fifth-post-fx2k-reportI.md`

`10034' was the output!

I just saw in this post that markdown is not officially suported on mastodon.

@stefano what is the case on this server? I have md text that I want to display with only unsorted and sorted lists and formatting of bold italic

fedi.tips/is-mastodon-compatib

#markdown #mastodon #richtext #formatting

fedi.tipsIs Mastodon compatible with rich text formatting such as Markdown? | Fedi.Tips – An Unofficial Guide to Mastodon and the Fediverse
Mehr von Fedi.Tips
#Music#Audio#Bass