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

ほぼ全てのコードブロックを実行可能にする? #4

Open
syuilo opened this issue Nov 29, 2024 · 1 comment
Open

ほぼ全てのコードブロックを実行可能にする? #4

syuilo opened this issue Nov 29, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@syuilo
Copy link
Contributor

syuilo commented Nov 29, 2024

かつ編集可能にしても良いかもしれない

  • 当然のことながら、基本的に(文法が正しければ)全てのAiScriptコードはAiScriptとして実行可能なので、実際に実行できた方が学習に役立つ
  • ただ全てのコードブロックが現在のようなデフォルトでPlaygroundが表示されている見た目になると冗長なので、デフォルトでPlaygroundがオープンされている状態かどうかを指定できるようにするのが良さそう
    • 現在

      ```aiscript playground
      

      になっている箇所を全て

      ```aiscript playground open
      

      みたいな指定に置換すると良さそう

@kakkokari-gtyih
Copy link
Collaborator

kakkokari-gtyih commented Nov 29, 2024

コードエディタにすると単に実行したいだけであってもshikiのエンジンを取得しないといけなくなって重いので、コードをplaygroundに飛ばして確認できるようにするのでも良いかも

@kakkokari-gtyih kakkokari-gtyih added the documentation Improvements or additions to documentation label Nov 30, 2024
@syuilo syuilo changed the title ほぼ全てのコードブロックを実行可能にする ほぼ全てのコードブロックを実行可能にする? Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants