Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PubTest
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
AP matsuo koji
PubTest
Commits
126bc2de
Commit
126bc2de
authored
Jan 25, 2026
by
AP matsuo koji
😲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
safe-mode-secure対応、GitLabでstyle関係の不要な文字列を表示を抑制
parent
d2d304d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
32 deletions
+25
-32
config.adoc
AdocTest/config.adoc
+25
-32
No files found.
AdocTest/config.adoc
View file @
126bc2de
...
@@ -38,17 +38,38 @@ endif::[]
...
@@ -38,17 +38,38 @@ endif::[]
//
//
// ExtendStyleは常に有効とする。定義して、もう実行しておく。互換性:何回呼ばれても大丈夫。
// ExtendStyleは常に有効とする。定義して、もう実行しておく。互換性:何回呼ばれても大丈夫。
// 2026/1/25 :GitLabのレンダラーでパススルー部(<style>などのhtml加工)が、無視され、テキストとして表示
// される問題の対処。 GitLabのadoc表示ではかカスタマイズ部は無視されるが、不要なテキストを表示しないようにした
// safe-mode-secureブロックで囲む
// safe-mode-secure外を上に集約して、safe-mode-secureブロックを一つにする
// SCREEN Confidential
:HeadLine:
ifdef::SCREENConfidential[]
:SCREENGA: pass:q[image:SCREENGA.png[]]
:CONF: pass:q[image:Confidential.png[]]
:DocNo: Internal
: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[]
ifndef::safe-mode-secure[]
:ExtendStyle: pass:none[<style>.nw{display:inline-block;white-space:pre;} .nowrap{display:inline-block;white-space:pre;}</style>]
:ExtendStyle: pass:none[<style>.nw{display:inline-block;white-space:pre;} .nowrap{display:inline-block;white-space:pre;}</style>]
{ExtendStyle}
{ExtendStyle}
endif::safe-mode-secure[]
// Page幅を無効にする
// Page幅を無効にする
ifndef::safe-mode-secure[]
ifdef::FreePage[]
ifdef::FreePage[]
+++<style>#header,#content,#footnotes,#footer{max-width:none;}</style>+++
+++<style>#header,#content,#footnotes,#footer{max-width:none;}</style>+++
...
@@ -58,23 +79,6 @@ ifndef::FreePage[]
...
@@ -58,23 +79,6 @@ ifndef::FreePage[]
:FreePage: pass:none[<style>#header,#content,#footnotes,#footer{max-width:none;}</style>]
:FreePage: pass:none[<style>#header,#content,#footnotes,#footer{max-width:none;}</style>]
endif::FreePage[]
endif::FreePage[]
endif::safe-mode-secure[]
// SCREEN Confidential
:HeadLine:
ifdef::SCREENConfidential[]
:SCREENGA: pass:q[image:SCREENGA.png[]]
:CONF: pass:q[image:Confidential.png[]]
:DocNo: Internal
:HeadLine: pass:n[{SCREENGA} [.right]##{DocNo} {CONF}##]
endif::SCREENConfidential[]
ifndef::safe-mode-secure[]
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ css差分
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ css差分
++++
++++
<style>
<style>
...
@@ -211,17 +215,6 @@ img, .imageblock.bordered img {
...
@@ -211,17 +215,6 @@ img, .imageblock.bordered img {
</style>
</style>
++++
++++
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
endif::safe-mode-secure[]
// :TocMode: WordWrap or ExpandWidth or Other None WordWrapが初期値
ifndef::TocMode[]
:TocMode: WordWrap
endif::TocMode[]
ifndef::safe-mode-secure[]
ifeval::["{TocMode}" == "WordWrap"]
ifeval::["{TocMode}" == "WordWrap"]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment