「MediaWiki/拡張機能」の版間の差分
		
		
		
		
		
		ナビゲーションに移動
		検索に移動
		
				
		
		
	
| 25行目: | 25行目: | ||
}  | }  | ||
</syntaxhighlight>  | </syntaxhighlight>  | ||
=== Score ===  | |||
楽譜を表示できる。  | |||
<score>\relative c' { f d f a d f e d cis a cis e a g f e }</score>  | |||
2023年2月4日 (土) 23:11時点における版
MediaWikiには便利な拡張機能がある。
導入方法
- Extentionをダウンロードする
 - extensions ディレクトリに入れる
 - LocalSettings.php でロードするように書く
 - maintenance/update.php を実行する
 
便利な拡張機能の一覧
Math
数式を表示する。
[math]\displaystyle{ f(x) = x^2 }[/math]
SyntaxHighlight
コードを表示する。 inline属性を追加するとインライン表示できる。
#include <stdio.h>
void main(){
	std::cout << "Hello, World!" << std::endl;
	return 0;
}
Score
楽譜を表示できる。
