Skip to content

Commit 6b680d1

Browse files
committed
tcl_tk: enable syntax highlighting
1 parent c0df2e7 commit 6b680d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/docs/filters/tcl_tk/clean_html.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ def call
3535
node.content = node.content.capitalize
3636
end
3737

38+
css('pre').each do |node|
39+
node['data-language'] = 'tcl'
40+
end
41+
3842
doc
3943
end
4044
end

0 commit comments

Comments
 (0)