Skip to content

NotionのtoggleをZennのMarkdown記法のアコーディオン(トグル)に変換する #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
KOHSUK opened this issue Oct 9, 2023 · 0 comments

Comments

@KOHSUK
Copy link
Owner

KOHSUK commented Oct 9, 2023

概要

Zenn の Markdown記法のアコーディオンをNotionのtoggleから生成できるようにしたい。

NotionのMarkdown変換に使用しているライブラリのnotion-to-mdが現時点では子要素を持つ要素のCustom Transformerに対応していない(指定すると要素自体が出力されなくなる模様)。

souvikinator/notion-to-md#98

ZennのMarkdown記法-アコーディオン(トグル)-

解決法

  1. notion-to-md がわの修正で対応可能か?
  2. カスタムなしでは、detailsタグとsummaryタグが出力されるので、自力でそれらを変換する
@KOHSUK KOHSUK changed the title Notionno NotionのtoggleをZennのMarkdown記法のアコーディオン(トグル)に変換する Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant