Warning: fopen(./data/cache/settings/plugins) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/wiki.php on line 1603

Warning: fopen(./data/cache/settings/interwiki) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/wiki.php on line 1603

Warning: Cannot modify header information - headers already sent by (output started at /home/newfif/public_html/wg/networkscience/wiki.php:1603) in /home/newfif/public_html/wg/networkscience/wiki.php on line 2135

Warning: Cannot modify header information - headers already sent by (output started at /home/newfif/public_html/wg/networkscience/wiki.php:1603) in /home/newfif/public_html/wg/networkscience/wiki.php on line 2135

Warning: Cannot modify header information - headers already sent by (output started at /home/newfif/public_html/wg/networkscience/wiki.php:1603) in /home/newfif/public_html/wg/networkscience/wiki.php on line 5301
Network Science Interest Group: Help On Processors

Network Science Interest Group

E D R S I H C RSS
ID
Password
Join
Your domestic life may be harmonious.

Warning: fopen(./data/cache/pagelist/counter) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/wiki.php on line 1603

Warning: fopen(./data/cache/pagelist/40cd750bba9870f18aada2478b24840a) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/wiki.php on line 1603

Warning: fopen(./data/cache/pagelist/counter) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/wiki.php on line 1603
WikiSandBox
HelpOnRules
MoniWiki/HotKeys
FortuneCookies

FrontPage HelpOnProcessors


Warning: fopen(./data/cache/aliases/aliases) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/wiki.php on line 1603

Warning: fopen(./data/cache/settings/processors) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/wiki.php on line 1603

Warning: fopen(./_cache/vim/9e/9ec568fbbc709293d73a9af49b1a3926.html) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/plugin/processor/vim.php on line 189

Warning: fwrite(): supplied argument is not a valid stream resource in /home/newfif/public_html/wg/networkscience/plugin/processor/vim.php on line 190

Warning: fclose(): supplied argument is not a valid stream resource in /home/newfif/public_html/wg/networkscience/plugin/processor/vim.php on line 191

Warning: fopen(./data/cache/settings/urlmapping) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/wiki.php on line 1603

프로세서

프로세서 혹은 프로세서 플러그인은 모니위키의 고급기능중의 하나로서, 중괄호 {{{ }}} 로 감싼 코드 블럭 영역에 대해서 특별 처리를 해줍니다.

다음과 같이 코드 블럭 영역 최 상단에 #!로 시작하는 프로세서 이름을 써 넣으면, 예를 들어 #!python이라고 하면 그 코드블럭 영역은 plugin/processor/python.php에 정의된 processor_python()이라는 모니위키의 플러그인에 의해 처리되게 됩니다. #!python은 유닉스의 스크립트 해석기를 지정하는 이른바 bang path 지정자 형식과 같으며, 유닉스에서 사용하는 목적과 동일한 컨셉트로 작동됩니다. (즉, 스크립트의 최 상단에 지정된 스크립트 지정자에 의해 스크립트의 파일 나머지 부분이 해석되어 집니다.)

이러한 방식으로 모니위키는 여러가지 다양한 프로세서 플러그인을 지원하고 있습니다.

Please see HelpOnEditing

CodeColoringProcessor

프로세서중에 특별히 코드 블럭의 문법을 강조해주는 코드 컬러링 기능을 가진 프로세서를 가리켜 CodeColoringProcessor라고 불리입니다.

예:
if lines[0].contains("python"):
    print "colors!"


Warning: fopen(./data/cache/backlinks/HelpOnEditing) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/wiki.php on line 1603

Warning: fopen(./data/cache/backlinks/HelpOnMacros) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/wiki.php on line 1603

Warning: fopen(./data/cache/backlinks/HelpOnActions) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/wiki.php on line 1603

Warning: fopen(./data/cache/pagelinks/HelpOnProcessors) [function.fopen]: failed to open stream: Permission denied in /home/newfif/public_html/wg/networkscience/wiki.php on line 1603
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2017-02-14 03:00:56
Processing time 0.5173 sec