- %inst-dir%/wp-content/plugins/modPukiWiki/class/PukiWikiElement.php
class PukiWikiHeading{~}のfunction PukiWikiHeading(){~}の中。
/* ▼08/10/25 ichi 変更▼
*************************************************/
//$this->level = min(6, strspn($text, '*'));
$min_level = is_single() ? 1 : 2;
$this->level = min(6, strspn($text, '*') + $min_level);
/*************************************************/
あとタグにつくclassやらも変更。
同クラス内のtoString(){~}内。
/* ▼08/10/25 ichi 変更▼
*************************************************/
//return $this->msg_top . $this->wrap(parent::toString(), 'h' . $this->level, " id=\"{$this->id}\" class=\"".PukiWikiConfig::getParam('style_prefix')."head\"");
return $this->wrap(parent::toString(), 'h' . $this->level, ' class="contentsTitle"');
/*************************************************/
ついでにpukiwiki記法でのコメントアウトを「//」だとコード内のコメントアウトとよくかぶるので、「##」に変えた。
/* ▼08/10/25 ichi 変更▼
*************************************************/
// Escape comments
//if (substr($line, 0, 2) == '//') continue;
if (substr($line, 0, 2) == '##') continue;
/*************************************************/
あと「 」(半角スペース)から開始の行がpre扱いになるのが鬱陶しくてしかたなかったので以下の部分を削除。
// Pre
if ($head == ' ' || $head == "\t") {
$this->last = & $this->last->add(new PukiWikiPre($this,$line));
continue;
}
このままだとpreがpukiwiki記法で書けないので、それっぽいpukiwikiプラグイン適当にでっちあげて使用中。
Prev / Next in same category
Comment Form
Trackbacks (0)
トラックバックはありません。
Comments (9)
Great! Thanks for your documents, its been very helpful. Thanks again for sharing your information.
All of these so next designs put into all the “challenged” positions: IWC, Audemars Piguet, Patek Philippe, Jaeger-LeCoultre, Vacheron Constantin, and additionally Harry Winston. It has singular keep an eye on trademark the precious jewelry designs which usually went for go on and additionally considered like “feeble”. This approach “honor” would travel to Franck Muller.
まんまだと、『名前とメールアドレスの入力を必須にする』でメアドも必須になっちゃうから。
?You are a chicken.Can you
とりあえず、しばらくはhtml直書きでネスト作ることも無さそうなので、無理やりにリストのネストの時のみ対応。
%inst-dir%/wp-includes/formatting.php のfunction wpautop(~){~}内。
l直書きでネスト作るこ
Great! Thanks for your documents, its been very helpful. Thanks again for sharing your information.
一方、優れたスーパーコピー素材で作りますから、質感が素晴らしいです
このままだとpreがpukiwiki記法で書けないので、それっぽいpukiwikiプラグイン適当にでっちあげて使用中。