From 211c5c3be5be64267ef727543a9436a43bdb392f Mon Sep 17 00:00:00 2001 From: Frans Bouma Date: Tue, 1 Mar 2016 10:47:53 +0100 Subject: [PATCH] Updated docs with new alert tip addition --- MarkdownSource/markdownextensions.md | 14 ++++++++++++++ css/theme_colors.css | 9 +++++++++ markdownextensions.htm | 6 ++++++ search_index.json | 2 +- 4 files changed, 30 insertions(+), 1 deletion(-) diff --git a/MarkdownSource/markdownextensions.md b/MarkdownSource/markdownextensions.md index 622c0ef..4cfb4d7 100644 --- a/MarkdownSource/markdownextensions.md +++ b/MarkdownSource/markdownextensions.md @@ -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. diff --git a/css/theme_colors.css b/css/theme_colors.css index 24439e2..b462a69 100644 --- a/css/theme_colors.css +++ b/css/theme_colors.css @@ -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*/ diff --git a/markdownextensions.htm b/markdownextensions.htm index 064889b..92cda04 100644 --- a/markdownextensions.htm +++ b/markdownextensions.htm @@ -118,6 +118,12 @@ This is an info text, it will be displayed in an info alert box! @end

Results in

Info

This is an info text, it will be displayed in an info alert box!

+

The markdown:

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

Results in

+
Tip

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

Font Awesome icons

To specify a font-awesome icon, use @fa-iconname, where iconname is the name of the font-awesome icon.

Example: To specify the font awesome icon for GitHub, use @fa-github, which will result in:

diff --git a/search_index.json b/search_index.json index 517cf75..38d6b8c 100644 --- a/search_index.json +++ b/search_index.json @@ -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" }, {