mirror of https://github.com/freeCodeCamp/devdocs
Merge pull request #1070 from simon04/gcc
gcc: add versions 8 and 9; enable syntax highlightingpull/1072/head
commit
ec252ca6a4
@ -0,0 +1,13 @@
|
||||
module Docs
|
||||
class Gcc
|
||||
class CleanHtmlFilter < Filter
|
||||
def call
|
||||
css('pre').each do |node|
|
||||
node['data-language'] = 'cpp'
|
||||
end
|
||||
|
||||
doc
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in new issue