diff --git a/lib/docs/filters/react/clean_html_react_dev.rb b/lib/docs/filters/react/clean_html_react_dev.rb
index fb77fa14..dc9dcae1 100644
--- a/lib/docs/filters/react/clean_html_react_dev.rb
+++ b/lib/docs/filters/react/clean_html_react_dev.rb
@@ -33,6 +33,14 @@ module Docs
node.before(node.children).remove
end
+ # Syntax highlighting
+ css('pre br').each do |node|
+ node.replace("\n")
+ end
+ css('pre').each do |node|
+ node['data-language'] = 'jsx'
+ end
+
doc
end
end