From 9102197db09598dbf4fa9001bc3ec604b922c065 Mon Sep 17 00:00:00 2001 From: Rui Jiang Date: Mon, 18 Nov 2024 19:13:42 -0600 Subject: [PATCH] removed hover popup --- lib/docs/filters/svelte/clean_html.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/docs/filters/svelte/clean_html.rb b/lib/docs/filters/svelte/clean_html.rb index 07f0dd51..cdc929ea 100644 --- a/lib/docs/filters/svelte/clean_html.rb +++ b/lib/docs/filters/svelte/clean_html.rb @@ -15,6 +15,8 @@ module Docs at_css('h1').content = 'Svelte' if root_page? css('pre').each do |node| + # Remove hover popup + node.css('.twoslash-popup-container').remove() node.content = node.css('.line').map(&:content).join("\n") node['data-language'] = 'typescript' end