public void Initialize(ParserRegistrationContext context) { context.RegisterUrlPostProcessor( "github.com", ProcessGithubLinks); context.RegisterDownloadableContent( "raw.githubusercontent.com", "text/plain", isText: true); }
public void Initialize(ParserRegistrationContext context) { context.RegisterUrlPostProcessor( "core.telegram.org", ProcessTelegramBotApiDocs); context.RegisterDownloadableContent( "core.telegram.org", "text/html", isText: true, IsDocumentationUrl); }