axios: remove code highlighting

pull/1872/head
Simon Legner 2 years ago
parent 088f13e1a6
commit 40ade81c60

@ -3,6 +3,10 @@ module Docs
class CleanHtmlFilter < Filter
def call
css('.links').remove
css('pre').each do |node|
node.content = node.content
node['data-language'] = node['class'][/lang-(\w+)/, 1]
end
doc
end
end

Loading…
Cancel
Save