lemmy-ui: Highlighting some words blindly in inline code is really annoying. For example,
systemctl --user cat emacs
pactl load-module module-switch-on-connect
Japanese Speaker. I can read/write some English but not well, so corrections are always appreciated.
プログラミングや音楽に興味があります。最近はEmacsでよく遊んでます。
lemmy-ui: Highlighting some words blindly in inline code is really annoying. For example,
systemctl --user cat emacs
pactl load-module module-switch-on-connect
Maybe some rules in nginx.conf has been delegated to nginx-internal.conf.
You shouldn’t post the auth
value here - it works like a username and password.
Our software is built on the reasonable assumption that third party servers cannot be trusted. For example, we cache and reprocess images and videos for you to view, so that the originating server cannot get your IP address, browser name, or time of access.
I hope Lemmy also implements the image/media caching in the not so distant future. Currently, Lemmy Web UI sends a lot of HTTP requests to external servers like imgur. (Github Issue)
It seems OAuth2 hasn’t implemented yet. At this time,
to get auth
value, username and password are required:
# Python
url = 'https://<instance_name>/user/login'
data = {'username_or_email': username_or_email,
'password': password}
response = requests.post(url, json=data)
json = response.json()
auth = json['jwt']
Since the endpoint recieves JSON then returns JSON, you may need to send following HTTP headers explicitly:
Content-Type: application/json
Accept: application/json
I guess reddit will close the current free-tier API once the new dev platform for moderators settles down.
Yes, fenced code block with specifying langauge may work as a workaround.
```text systemctl --user cat emacs ```
but I said “inline” explicitly.