Skip to content
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

雑にmarkdown食わせても出力できた方がいいのではないか? #106

Open
ddddddO opened this issue Nov 6, 2022 · 2 comments

Comments

@ddddddO
Copy link
Owner

ddddddO commented Nov 6, 2022

マークダウンパーサを一応作ったので、対応してない行がきたら、それとわかるエラー返して、呼び出し元でスキップさせていいんでないか

@ddddddO
Copy link
Owner Author

ddddddO commented Nov 6, 2022

いっそ、フォーマットエラーとなる行もすべてスキップしてしまって、パースできる行のみでツリーを出力する。
で、パースできた行のマークダウンも出力するようにして、ユーザーが入力したマークダウンとツールが取り込み成功したマークダウンとを比較できるようにする、のはどうか

@ddddddO
Copy link
Owner Author

ddddddO commented Jun 17, 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