LyGhT1337 / DarknessCodeBlocks

Compact & Squared Codeblocks
MIT License
2 stars 0 forks source link

Changing titles #1

Closed GAMINGCHATS closed 2 years ago

GAMINGCHATS commented 2 years ago

How do I go from 1 title to another? For example, how do I go from "Code" to "Python"

LyGhT1337 commented 2 years ago

Usually it works with auto detection via discord, this doesn't work flawlessly sadly and needs some fixing from Discord's side.

But you can do it manually by putting the languages shortcut after using code.....

For example:

image

results in:

image

but with "py" for python:

image

Results in this:

image

And this goes and works for every other language... the complete list is below:

hljs
diff
cs
ini
autohotkey
asciidoc
TOML
nginx
perl
d
javascript
css
bash
markdown
html
xl
coffee
ruby
sql
java
py
vb
lua
php
swift
makefile
go
rust
prolog
ts
http
json
xml
less
sass
elm
cpp
hbs
\1c
abnf
clojure
objc
yml
shell
kotlin
apache
stylus
avrasm
llvm
mipsasm
x86asm
crmsh
dns
dockerfile
dsconfig
jbboss-cli
ldif
pf.conf
puppet
roboconf
axapta
cos
isbl
livecodeserver
ldif
ruleslanguage
clean
coq
elixir
erlang-repl
erlang
flix
fsharp
haskell
ocaml
scala
sml
xquery
glsl
mel
processing
rib
rsl
armasm
asm