Skip to content

Commit 30420be

Browse files
committed
images
1 parent 606a37f commit 30420be

File tree

5 files changed

+11
-13
lines changed

5 files changed

+11
-13
lines changed

packages/dev/src/quickstarts-data/asciidoc/getting-started/images/fa-ellipsis-v.svg

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Loading
-121 KB
Binary file not shown.

packages/dev/src/quickstarts-data/yaml/template.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ spec:
3333
description: |-
3434
## Text
3535
36-
Test
37-
<img alt="Mountains" src="fa-ellipsis-v.svg" style="height: 14px;">
38-
39-
Ellipsis icon: <i class="fas fa-ellipsis-v"></i>
40-
41-
PF icon: <i class="pf-icon pf-icon-add-circle-o"></i>
42-
43-
View more ![Mountains](fa-ellipsis-v.svg)
44-
4536
1. The main body of the task. You can use markdown syntax here to create list items and more.
4637
4738
This is a paragraph.
4839
This is another paragraph. Add an empty line between paragraphs for line breaks or two spaces at the end.
4940
1. For more information on markdown syntax you can visit [this resource](https://www.markdownguide.org/basic-syntax/).
5041
1. A <small>limited set</small> of <strong>HTML tags</strong> [are also supported](https://docs.openshift.com/container-platform/4.9/web_console/creating-quick-start-tutorials.html#supported-tags-for-quick-starts_creating-quick-start-tutorials)
5142
43+
## Images
44+
45+
HTML img tag: <img alt="Ellipsis" src="images/fa-ellipsis-v.svg" style="height: 14px;">
46+
> Markdown would work as well but cannot add height/width style
47+
48+
Ellipsis icon (visible if font-awesome is installed): <i class="fas fa-ellipsis-v"></i>
49+
50+
PF icon: <i class="pf-icon pf-icon-add-circle-o"></i>
51+
5252
## Highlighting
5353
5454
To enable highlighting, the markdown syntax should contain:

packages/dev/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ module.exports = (_env, argv) => {
110110
patterns: [{ from: path.resolve(__dirname, '_redirects'), to: '' }],
111111
}),
112112
new CopyPlugin({
113-
patterns: [{ from: 'src/quickstarts-data/asciidoc/getting-started/images', to: '' }],
113+
patterns: [{ from: 'src/quickstarts-data/**/images/*', to: 'images/[name].[ext]' }],
114114
}),
115115
new AssetsPlugin({
116116
keepInMemory: false, // _env === 'development',

0 commit comments

Comments
 (0)