Skip to content

Instantly share code, notes, and snippets.

View RealRTTV's full-sized avatar
💭
codin' up a storm

Riley RealRTTV

💭
codin' up a storm
  • Toronto, Ontario
  • 20:26 (UTC -04:00)
View GitHub Profile
@RealRTTV
RealRTTV / discord-markdown-rsv-docs.md
Created August 25, 2023 03:50
Discord's limited Markdown (meant to be pasted into a discord channel)

Discord's limited-edition Markdown

As you might be aware, Discord famously uses *asterixis* and **double asterixis** to communicate italic and bold respectively. Most only know these and think that it was an idea first introduced on Discord.

But Discord was made by developers. Those people were already familiar with a classic style to make text pop out more and convey e m o t i o n. Since Discord's recent popularity, Markdown has become known to by tons more people than ever! (except not really)

However most only know the a few rules as shown above, you might not even know how I did that strikethrough or underline right there, or how my whole text thus far has given this left padding.

@RealRTTV
RealRTTV / ASMFormatParser.java
Last active July 17, 2022 16:24
really bad asm format parser since making new objects was cringe
package ca.rttv.qol;
import net.fabricmc.loader.api.FabricLoader;
import net.fabricmc.loader.api.MappingResolver;
import org.objectweb.asm.Type;
import org.objectweb.asm.tree.AbstractInsnNode;
import org.objectweb.asm.tree.FieldInsnNode;
import org.objectweb.asm.tree.IincInsnNode;
import org.objectweb.asm.tree.InsnList;
import org.objectweb.asm.tree.InsnNode;