-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User friendly blockquote title #538
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,38 +49,38 @@ <h2 id="Simple-Blockquote">Simple Blockquote</h2> | |
<h2 id="GH-Alerts-Heading">GH Alerts Heading</h2> | ||
<h3 id="Note-Type-Alert-Heading">Note Type Alert Heading</h3> | ||
<ac:structured-macro ac:name="info"><ac:parameter ac:name="icon">true</ac:parameter><ac:rich-text-body> | ||
<p>[!NOTE]</p> | ||
<p> Note </p> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we remove the leading and trailing whitespaces on this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thinking about it twice, why not remove the whole paragraph? It should show up in Confluence with the proper macro anyway. WDYT @prokod ? |
||
<ul> | ||
<li>Note bullet 1</li> | ||
<li>Note bullet 2</li> | ||
</ul> | ||
</ac:rich-text-body></ac:structured-macro> | ||
<h3 id="Tip-Type-Alert-Heading">Tip Type Alert Heading</h3> | ||
<ac:structured-macro ac:name="tip"><ac:parameter ac:name="icon">true</ac:parameter><ac:rich-text-body> | ||
<p>[!TIP]</p> | ||
<p> Tip </p> | ||
<ul> | ||
<li>Tip bullet 1</li> | ||
<li>Tip bullet 2</li> | ||
</ul> | ||
</ac:rich-text-body></ac:structured-macro> | ||
<h3 id="Warning-Type-Alert-Heading">Warning Type Alert Heading</h3> | ||
<ac:structured-macro ac:name="note"><ac:parameter ac:name="icon">true</ac:parameter><ac:rich-text-body> | ||
<p>[!WARNING]</p> | ||
<p> Warning </p> | ||
<ul> | ||
<li>Warning bullet 1</li> | ||
<li>Warning bullet 2</li> | ||
</ul> | ||
</ac:rich-text-body></ac:structured-macro> | ||
<h3 id="Important/Caution-Type-Alert-Heading">Important/Caution Type Alert Heading</h3> | ||
<ac:structured-macro ac:name="info"><ac:parameter ac:name="icon">true</ac:parameter><ac:rich-text-body> | ||
<p>[!IMPORTANT]</p> | ||
<p> Important </p> | ||
<ul> | ||
<li>Important bullet 1</li> | ||
<li>Important bullet 2</li> | ||
</ul> | ||
</ac:rich-text-body></ac:structured-macro> | ||
<ac:structured-macro ac:name="warning"><ac:parameter ac:name="icon">true</ac:parameter><ac:rich-text-body> | ||
<p>[!CAUTION]</p> | ||
<p> Caution </p> | ||
<ul> | ||
<li>Important bullet 1</li> | ||
<li>Important bullet 2</li> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of doing this on a character base, can we do it on a word base (i.e. look for the existing ghalerts with a [! in front and ] afterwards and then simply replace what you found?