Commit 4806de6c authored by tsuji's avatar tsuji

Update config.adoc

parent f2b7152c
......@@ -31,26 +31,18 @@ ifeval::["{lang}" == "ja"]
:untitled-label: 無題
:version-label: バージョン
endif::[]
// ここまで空白行禁止(tocが表示されない)
// HTML出力で画像を埋め込む
:data-uri:
// 各種Macro拡張
:hardbreaks:
:experimental:
// ここまで空白行禁止(tocが表示されない)
//
// ExtendStyleは常に有効とする。定義して、もう実行しておく。互換性:何回呼ばれても大丈夫。
:ExtendStyle: pass:none[<style>.nw{display:inline-block;white-space:pre;} .nowrap{display:inline-block;white-space:pre;}</style>]
{ExtendStyle}
// Page幅を無効にする
// 2026/1/25 :GitLabのレンダラーでパススルー部(<style>などのhtml加工)が、無視され、テキストとして表示
// される問題の対処。 GitLabのadoc表示ではかカスタマイズ部は無視されるが、不要なテキストを表示しないようにした
// safe-mode-secureブロックで囲む
ifdef::FreePage[]
+++<style>#header,#content,#footnotes,#footer{max-width:none;}</style>+++
endif::FreePage[]
// 互換性:{FreePage}がConfigより後で定義された場合は、互換性ため{FreePage}を定義する
ifndef::FreePage[]
:FreePage: pass:none[<style>#header,#content,#footnotes,#footer{max-width:none;}</style>]
endif::FreePage[]
// safe-mode-secure外を上に集約して、safe-mode-secureブロックを一つにする
// SCREEN Confidential
......@@ -63,6 +55,30 @@ ifdef::SCREENConfidential[]
:HeadLine: pass:n[{SCREENGA} [.right]##{DocNo} {CONF}##]
endif::SCREENConfidential[]
// :TocMode: WordWrap or ExpandWidth or Other None WordWrapが初期値
ifndef::TocMode[]
:TocMode: WordWrap
endif::TocMode[]
// safe-mode-secure(セキュアモードが定義が無いときのみ展開する)
ifndef::safe-mode-secure[]
:ExtendStyle: pass:none[<style>.nw{display:inline-block;white-space:pre;} .nowrap{display:inline-block;white-space:pre;}</style>]
{ExtendStyle}
// Page幅を無効にする
ifdef::FreePage[]
+++<style>#header,#content,#footnotes,#footer{max-width:none;}</style>+++
endif::FreePage[]
// 互換性:{FreePage}がConfigより後で定義された場合は、互換性ため{FreePage}を定義する
ifndef::FreePage[]
:FreePage: pass:none[<style>#header,#content,#footnotes,#footer{max-width:none;}</style>]
endif::FreePage[]
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ css差分
++++
<style>
......@@ -185,24 +201,23 @@ img, .imageblock.bordered img {
.listingblock pre.CodeRay,
.listingblock pre.prettyprint
.exampleblock>.content {
margin-bottom: 0em; /* <-1.25em */
margin-bottom: 1.25em; /* <-1.25em 0em */
/* padding: 1.25em; */
padding-top: 0.5em;
padding-bottom: 0.5em;
/*padding-left: 1.25em;*/
padding-right: 0.5em;
}
</style>
/* サイドバー引用****のブロックのタイトルを右寄せ */
.sidebarblock>.content >.title {
text-align: left
}
</style>
++++
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
// :TocMode: WordWrap or ExpandWidth or Other None WordWrapが初期値
ifndef::TocMode[]
:TocMode: WordWrap
endif::TocMode[]
ifeval::["{TocMode}" == "WordWrap"]
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ css差分
++++
<style>
......@@ -339,6 +354,8 @@ ifdef::CustomIcon_nouse[]
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
endif::CustomIcon_nouse[]
endif::safe-mode-secure[]
// End of ::_CONFIG_ADOC[]
endif::_CONFIG_ADOC[]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment