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

@include, //includeの挙動 #888

Closed
kmuto opened this issue Dec 16, 2017 · 1 comment
Closed

@include, //includeの挙動 #888

kmuto opened this issue Dec 16, 2017 · 1 comment

Comments

@kmuto
Copy link
Owner

kmuto commented Dec 16, 2017

#887 に関連

  • compile_inlineあるいはparagraphで処理されており、何でもincludeできるわけではない(preprocと違い、たとえば見出しや表や箇条書きなどを入れられない)という点で、「include」というタグ名はちょっと広く取られすぎるかも?
  • @<include>をコードの取り込みなどに使おうとした場合、末尾に不要な空行が入る。inline_includeのFile.read結果末尾をchompで削ったほうがいい?
@kdmsnr
Copy link
Collaborator

kdmsnr commented Dec 16, 2017

  • paragraph は削除でもよさそうですねえ(おそらく compiler までは戻せないので、ひとまず文章挿入のみを処理できるようにした記憶が……)。
  • よいと思います。

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

2 participants