@Override
    public void registerComponents(@NonNull Context context, @NonNull Glide glide, @NonNull Registry registry) {
        registry.register(SVG.class, Drawable.class, new SvgDrawableTranscoder())
                .append(InputStream.class, SVG.class, new SvgDecoder());
    }
Module for the SVG sample app.
app/src/main/java/com/github/pockethub/android/markwon/SvgModule.java