access-company / kotlin_intro

introduction of Kotlin!
9 stars 5 forks source link

Type to searchが動かない #62

Closed ghost closed 2 years ago

ghost commented 2 years ago

ページ左上のType to searchが動いていない様子。 詳しくは見てないが、実は以下が必要だったとか? https://github.com/access-company/kotlin_intro/pull/57/commits/2c5584fe1232ff70358eff3c1d4af8869000f216#diff-d0656efeb06fe536fce622d8979b74c57c7cb3b999bf85a31599264d195bc9f4L9-L11

ghost commented 2 years ago

head-appendを無効化すれば動くようになる。 https://github.com/access-company/kotlin_intro/blob/master/src/book.json#L5 しかし、head-append無効化はKotlin Playgroundが動かなくなるので、詳しい調査が必要。

tonionagauzzi commented 2 years ago

head-appendの説明 https://github.com/NoriSte/gitbook-plugin-head-append

If you want to add a script you must replace every script occurrence with SCRIPTTAG, the plugin will restore it.

に従い、book.json の scriptSCRIPTTAG に変えたら、Kotlin Playground が有効なまま Type to search も動くようになった