Browse Source

Updated docs with new alert tip addition

pull/60/head
Frans Bouma 10 years ago
parent
commit
211c5c3be5
4 changed files with 30 additions and 1 deletions
  1. +14
    -0
      MarkdownSource/markdownextensions.md
  2. +9
    -0
      css/theme_colors.css
  3. +6
    -0
      markdownextensions.htm
  4. +1
    -1
      search_index.json

+ 14
- 0
MarkdownSource/markdownextensions.md View File

@@ -64,6 +64,20 @@ Results in
This is an info text, it will be displayed in an info alert box!
@end

The markdown:

```nohighlight
@alert tip
This is a tip! It will be displayed in a tip alert box!
@end
```

Results in

@alert tip
This is a tip! It will be displayed in a tip alert box!
@end

## Font Awesome icons
To specify a font-awesome icon, use `@fa-iconname`, where _iconname_ is the name of the font-awesome icon.



+ 9
- 0
css/theme_colors.css View File

@@ -108,6 +108,15 @@ mark {
.alert.alert-neutral a {
color: #2980B9;
}

.alert.alert-tip {
background:#dbfaf4;
}

.alert.alert-tip .alert-title {
background:#1abc9c;
}

/* #endregion*/

/* #region Tables*/


+ 6
- 0
markdownextensions.htm View File

@@ -118,6 +118,12 @@ This is an info text, it will be displayed in an info alert box!
@end
</pre><p>Results in</p>
<div class="alert alert-info"><span class="alert-title"><i class="fa fa-info-circle"></i> Info</span><p>This is an info text, it will be displayed in an info alert box!</p>
</div><p>The markdown:</p>
<pre class="nocode">@alert tip
This is a tip! It will be displayed in a tip alert box!
@end
</pre><p>Results in</p>
<div class="alert alert-tip"><span class="alert-title"><i class="fa fa-info-circle"></i> Tip</span><p>This is a tip! It will be displayed in a tip alert box!</p>
</div><h2 id="font-awesome-icons">Font Awesome icons</h2>
<p>To specify a font-awesome icon, use <code>@fa-iconname</code>, where <em>iconname</em> is the name of the font-awesome icon.</p>
<p>Example: To specify the font awesome icon for GitHub, use <code>@fa-github</code>, which will result in: <i class="fa fa-github"></i></p>


+ 1
- 1
search_index.json View File

@@ -33,7 +33,7 @@
{
"location": "markdownextensions.htm",
"breadcrumbs": "Home / Authoring content / Writing content using Markdown / DocNet Markdown extensions",
"keywords": "_iconname_ 64 a add after alert Alert alerts an and are as As At awesome Awesome based be Below Between blue box boxes by can Close codepen contents control converted create CSS3 danger dangerous deal define defined defines definition displayed Docnet DocNet documentation each easier easy element end End endtabs example Example examples extensions fa first First followed following font Font for fusco Fusco github GitHub however HTML http icon iconname icons important in info interesting into io is it It Joseph label least let make markdown Markdown more name need neutral newline newlines nohighlight nothing Now of on one or pen pretend pure quickly red result results Results second Second see set shows simple special specify start statement statements suffixed tab Tab tabs Tabs text that the The them This those Three to To two type types use used using very warning well where which will with work writing Wvzjrm yellow you You your",
"keywords": "_iconname_ 64 a add after alert Alert alerts an and are as As At awesome Awesome based be Below Between blue box boxes by can Close codepen contents control converted create CSS3 danger dangerous deal define defined defines definition displayed Docnet DocNet documentation each easier easy element end End endtabs example Example examples extensions fa first First followed following font Font for fusco Fusco github GitHub however HTML http icon iconname icons important in info interesting into io is it It Joseph label least let make markdown Markdown more name need neutral newline newlines nohighlight nothing Now of on one or pen pretend pure quickly red result results Results second Second see set shows simple special specify start statement statements suffixed tab Tab tabs Tabs text that the The them This those Three tip to To two type types use used using very warning well where which will with work writing Wvzjrm yellow you You your",
"title": "DocNet Markdown extensions"
},
{


Loading…
Cancel
Save