krisyotam
/
devdocs
Code
Issues
Pull Requests
Antique
Wiki
Insights
/
History
tcl_tk: enable syntax highlighting
SL
Simon Legner
committed 1 year ago
Commit
6b680d1
1 parent
c0df2e7
1 file ·
+4
−0
Browse files
Unified
·
Split
lib/docs/filters/tcl_tk/clean_html.rb
+4
−0
@@ -35,6 +35,10 @@ module Docs
· 34 unmodified lines
35
35
node.content = node.content.capitalize
36
36
end
37
37
38
+
css('pre').each do |node|
39
+
node['data-language'] = 'tcl'
40
+
end
41
+
38
42
doc
39
43
end
40
44
end