Unified · Split
| @@ -15,6 +15,8 @@ module Docs · 14 unmodified lines | ||
| 15 | 15 | |
| 16 | 16 | at_css('h1').content = 'Svelte' if root_page? |
| 17 | 17 | css('pre').each do |node| |
| 18 | + # Remove hover popup | |
| 19 | + node.css('.twoslash-popup-container').remove() | |
| 18 | 20 | node.content = node.css('.line').map(&:content).join("\n") |
| 19 | 21 | node['data-language'] = 'typescript' |
| 20 | 22 | end |