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

Kernel のサンプルコードにハイライトを追加 #2566

Merged
merged 2 commits into from Oct 31, 2021

Conversation

osyo-manga
Copy link
Contributor

Kernel のサンプルコードに #@samplecode ~ #@end を追加してハイライトされるようにしました。

スクリプトに指定した引数 (Object::ARGV を参照) をファイル名と
みなして、それらのファイルを連結した 1 つの仮想ファイルを表すオブジェクトです。
#@samplecode 例
# ---main.rb---
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

別ファイルは別々の samplecode にして #@samplecode ファイル名 にした方が良いかもしれません。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@znz ありがとうございます。66942c2 で修正しました。

@znz znz merged commit b4ee971 into rurema:master Oct 31, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants