fixed small typo in image include template and a couple of doc errors

This commit is contained in:
tomjohnson1492
2016-07-05 00:12:42 -07:00
parent 62c2a90881
commit 85f7373b07
6 changed files with 9728 additions and 8583 deletions

View File

@ -199,10 +199,6 @@ entries:
url: /mydoc_themes url: /mydoc_themes
output: web, pdf output: web, pdf
- title: Check page title consistency
url: /mydoc_title_checker
output: web, pdf
- title: Generating PDFs - title: Generating PDFs
url: /mydoc_generating_pdfs url: /mydoc_generating_pdfs
output: web, pdf output: web, pdf

View File

@ -1 +1 @@
<figure>{% if {{include.url}} %}<a class="no_icon" target="_blank" href="{{include.url}}">{% endif %}<img class="docimage" src="../images/{{include.file}}" alt="{{include.alt}}" {% if {{include.max-width}} %}style="max-width: {{include.max-width}}px"{% endif %} />{% if {{include.url}} %}</a>{% endif %}{% if {{include.caption}} %}<figcaption>{{include.caption}}</figcaption></figure>{% endif %} <figure>{% if {{include.url}} %}<a class="no_icon" target="_blank" href="{{include.url}}">{% endif %}<img class="docimage" src="images/{{include.file}}" alt="{{include.alt}}" {% if {{include.max-width}} %}style="max-width: {{include.max-width}}px"{% endif %} />{% if {{include.url}} %}</a>{% endif %}{% if {{include.caption}} %}<figcaption>{{include.caption}}</figcaption></figure>{% endif %}

View File

@ -41,10 +41,10 @@ For inline images, such as with a button that you want to appear inline with tex
```liquid ```liquid
Click the **Android SDK Manager** button {%raw%}{% include inline_image.html Click the **Android SDK Manager** button {%raw%}{% include inline_image.html
file="androidsdkmanagericon" type="png" alt="SDK button" %}{%endraw%} file="androidsdkmanagericon.png" alt="SDK button" %}{%endraw%}
``` ```
Click the **Android SDK Manager** button {% include inline_image.html file="androidsdkmanagericon" type="png" alt="SDK button" %} Click the **Android SDK Manager** button {% include inline_image.html file="androidsdkmanagericon.png" alt="SDK button" %}
The inline_image.html include properties are as follows: The inline_image.html include properties are as follows:

View File

@ -128,6 +128,6 @@ Here's a list with some intercepting text:
The key principle is to line up the first character after the dot following the number: The key principle is to line up the first character after the dot following the number:
{% include image.html file="liningup" type="png" caption="Lining up the left edge ensures the list stays in tact." %} {% include image.html file="liningup.png" caption="Lining up the left edge ensures the list stays in tact." %}
For the sake of simplicity, use two spaces after the dot for numbers 1 through 9. Use one space for numbers 10 and up. If any part of your list doesn't align symmetrically on this left edge, the list will not render correctly. Also note that this is characteristic of kramdown-flavored Markdown and may not yield the same results in other Markdown flavors. For the sake of simplicity, use two spaces after the dot for numbers 1 through 9. Use one space for numbers 10 and up. If any part of your list doesn't align symmetrically on this left edge, the list will not render correctly. Also note that this is characteristic of kramdown-flavored Markdown and may not yield the same results in other Markdown flavors.

BIN
images/liningup.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

File diff suppressed because it is too large Load Diff