Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/danielroe/ripple-framework. Ripple is the presentation layer for building websites on the DPC Single Digital Presence platform.
···11-<!-- This component is used to show Markdown code block examples -->
22-<template>
33- <pre><ContentSlot :use="$slots.default" unwrap="p" /></pre>
44-</template>
···22title: Kitchen sink
33description: Here's everything
44layout: default
55+links:
66+ - text: Vic gov
77+ url: https://www.vic.gov.au/
88+ - text: Single Digital Presence
99+ url: https://www.vic.gov.au/single-digital-presence
1010+---
1111+1212+> For a more detailed markdown editing guide, see here https://www.markdownguide.org/basic-syntax/
1313+1414+## Front matter
1515+1616+Front matter sits at the very top of a markdown file and contains metadata about a page. In our case, it contains things like the page title and description.
1717+1818+Here is the frontmatter for the page you are currently reading.
1919+2020+```md
2121+---
2222+title: Kitchen sink
2323+description: Here's everything
2424+layout: default
2525+links:
2626+ - text: Vic gov
2727+ url: https://www.vic.gov.au/
2828+ - text: Single Digital Presence
2929+ url: https://www.vic.gov.au/single-digital-presence
3030+---
3131+```
3232+533---
634735## Headings
8363737+Headings are added using hash marks before text. The number of hash marks specifies the heading level (e.g. '##' = H2). Please don't use H1s in markdown, these are reserved for the page title, which is set in the front matter.
3838+3939+### Example
4040+4141+```md
942## Heading level 2
4343+1044### Heading level 3
4545+1146#### Heading level 4
4747+1248##### Heading level 5
4949+1350###### Heading level 6
5151+```
14525353+## Heading level 2
15541616-## Horizontal Rules
5555+### Heading level 3
17561818-### `___`
1919-___
5757+#### Heading level 4
20582121-### `---`
5959+##### Heading level 5
6060+6161+###### Heading level 6
6262+2263---
23642424-### `***`
2525-***
6565+## Paragraph text
6666+6767+Paragraphs are simply text seperated by an empty line.
6868+6969+```md
7070+This is a paragraph
7171+7272+This is another paragraph
7373+```
7474+7575+This is a paragraph
7676+7777+This is another paragraph
7878+7979+---
26802781## Emphasis
28822929-**This is bold text**
8383+### Italics
8484+8585+```md
8686+Here is *italic text*
8787+8888+Here is also _italic text_
8989+```
9090+9191+Here is *italic text*
30923131-__This is bold text__
9393+Here is also _italic text_
32943333-*This is italic text*
9595+### Bold
34963535-_This is italic text_
9797+```md
9898+Here is **bold text**
36993737-~~Strikethrough~~
100100+Here is also __bold text__
101101+```
38102103103+Here is **bold text**
104104+105105+Here is also __bold text__
106106+107107+### Strikethrough
108108+109109+```md
110110+Here is ~~strikethrough text~~
111111+```
112112+113113+Here is ~~strikethrough text~~
114114+115115+---
116116+117117+## Horizontal Rules
118118+119119+You can add a horizontal rule by using at least three of either `_`, `-` or `*`.
120120+121121+```md
122122+These are all equivalent:
123123+---
124124+___
125125+***
126126+127127+So are these:
128128+------
129129+______
130130+******
131131+132132+But these won't work:
133133+--
134134+__
135135+**
136136+```
137137+138138+---
3913940140## Blockquotes
41141142142+Blockquotes are added with a `>` before the text.
42143144144+```md
43145> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
146146+```
44147148148+> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
149149+150150+---
4515146152## Lists
471534848-Unordered
154154+### Unordered
491555050-+ Create a list by starting a line with `+`, `-`, or `*`
5151-+ Sub-lists are made by indenting 2 spaces:
5252- - Marker character change forces new list start:
5353- * Ac tristique libero volutpat at
5454- + Facilisis in pretium nisl aliquet
5555- - Nulla volutpat aliquam velit
5656-+ Very easy!
156156+Unordered lists are created by starting a line with `+`, `-`, or `*`. Nested lists can be achieved through indentation, with **2 spaces** for each additional level.
571575858-Ordered
158158+```md
159159+* Fruit
160160+ * Berries
161161+ - Strawberry
162162+ - Blueberry
163163+ * Classics
164164+ - Apple
165165+ - Banana
166166+* Vegetables
167167+ + Broccoli
168168+```
169169+170170+* Fruit
171171+ * Berries
172172+ - Strawberry
173173+ - Blueberry
174174+ * Classics
175175+ - Apple
176176+ - Banana
177177+* Vegetables
178178+ + Broccoli
179179+180180+### Ordered
181181+182182+Ordered lists are created by starting a line with a number and period (e.g. `1.`). Nested lists can be achieved through indentation, with **4 spaces** (different to the unordered list) for each additional level.
183183+184184+You can use any numbers, but it's more convenient to just use `1.` for each item, the numbering will work automatically.
185185+186186+```md
187187+This works:
59188601891. Lorem ipsum dolor sit amet
190190+ 1. Lorem at massa
191191+ 2. Adipiscing
611922. Consectetur adipiscing elit
621933. Integer molestie lorem at massa
63194195195+But just do this, it's the same thing:
641966565-1. You can use sequential numbers...
6666-1. ...or keep all the numbers as `1.`
197197+1. Lorem ipsum dolor sit amet
198198+ 1. Lorem at massa
199199+ 1. Adipiscing
200200+1. Consectetur adipiscing elit
201201+1. Integer molestie lorem at massa
202202+```
672036868-Start numbering with offset:
204204+1. Lorem ipsum dolor sit amet
205205+ 1. Lorem at massa
206206+ 2. Adipiscing
207207+2. Consectetur adipiscing elit
208208+3. Integer molestie lorem at massa
209209+210210+#### Starting point
211211+212212+You can start the list at any number like this:
213213+214214+```md
215215+64. foo
216216+1. bar
217217+1. blah
218218+```
692197070-57. foo
220220+64. foo
712211. bar
222222+1. blah
72223224224+---
225225+226226+## Links
227227+228228+Hyperlinks can be added with the following syntax, the link text goes in the square brackets, followed by the url in round brackets.
229229+230230+```md
231231+Visit the [Victorian government website](https://www.vic.gov.au/)
232232+```
233233+234234+Visit the [Victorian government website](https://www.vic.gov.au/)
235235+236236+Alternatively, if you don't need different link text you can just write the url directly
237237+238238+```md
239239+Here is the link to vic gov https://www.vic.gov.au/.
240240+```
241241+242242+Here is the link to vic gov https://www.vic.gov.au/.
243243+244244+---
7324574246## Code
752477676-Inline `code`
248248+Here's some `code inline` in context.
249249+250250+Here's some `const codeInline: string = 'highlighted code inline'`{lang="ts"} in context.
7725178252Indented code
79253···99273console.log(foo(5));
100274```
101275276276+---
277277+102278## Tables
103279104104-| Option | Description |
105105-| ------ | ----------- |
106106-| data | path to data files to supply the data that will be passed into templates. |
107107-| engine <br> asd | engine to be used for processing templates. Handlebars is the default. |
108108-| ext | extension to be used for dest files. |
280280+Tables can be added using a special format. More info here:
109281110110-Right aligned columns
111111-112112-| Option | Description |
113113-| ------:| -----------:|
114114-| data | path to data files to supply the data that will be passed into templates. |
115115-| engine | engine to be used for processing templates. Handlebars is the default. |
116116-| ext | extension to be used for dest files. |
117117-118118-| Option | Description |
119119-| ------:| -----------:|
120120-|  | path to data files to supply the data that will be passed into templates. |
121121-| engine | engine to be used for processing templates. Handlebars is the default. |
122122-| ext | extension to be used for dest files. |
282282+- [Github markdown tables guide](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables)
123283284284+An example of a simple table
124285125125-## Links
286286+```md
287287+| Name | Description |
288288+| ------ | ---------------------------- |
289289+| Banana | Yellow, elongated, edible. |
290290+| Apple | 84% water, 15% carbohydrates |
291291+```
126292127127-[link text](http://dev.nodeca.com)
293293+| Name | Description |
294294+| ------ | ---------------------------- |
295295+| Banana | Yellow, elongated, edible. |
296296+| Apple | 84% water, 15% carbohydrates |
128297129129-[link with title](http://nodeca.github.io/pica/demo/ "title text!")
298298+---
130299131131-Autoconverted link https://github.com/nodeca/pica (enable linkify to see)
300300+## Images
132301302302+Images can be added like this:
133303134134-## Images
304304+```md
305305+
306306+```
135307136136-
308308+
137309138310By Lee Carson on Flickr - Nils Olav on Flickr, CC BY-SA 2.0, https://commons.wikimedia.org/w/index.php?curid=5080064
139311140140-### Footnotes
312312+---
141313142142-Here's a simple footnote,[^1] and here's a longer one.[^bignote]
143143-[^1]: This is the first footnote.
144144-[^bignote]: Here's one with multiple paragraphs and code.
145145- Indent paragraphs to include them in the footnote.
146146- `{ my code }`
147147- Add as many paragraphs as you like.
314314+## Custom components
148315149149-### Custom containers
316316+### DocsExample
150317318318+The `DocsExample` will display an component example from storybook, you will need to give it the id of the story you want to display.
319319+320320+```md
151321::DocsExample
152322---
153323id: core-navigation-button--default-filled
154324---
155325::
326326+```
156327157328::DocsExample
158329---
159159-id: core-navigation-breadcrumbs--default-story
160160-hideNewTab: true
330330+id: core-navigation-button--default-filled
161331---
162332::
163333334334+There are additional options you can use for this component:
335335+336336+```md
164337::DocsExample
165338---
166166-id: core-navigation-in-page-navigation--in-page-navigation
339339+id: core-navigation-button--default-filled
340340+withPadding: false
341341+hideNewTab: false
167342hideCode: true
168343---
169344::
345345+```
170346171347::DocsExample
172348---
173173-id: core-navigation-footer--default-story
174174-hideNewTab: true
349349+id: core-navigation-button--default-filled
350350+withPadding: true
351351+hideNewTab: false
175352hideCode: true
176353---
177354::
355355+356356+### DocsThemeChooser
357357+358358+You can wrap `DocsExample` components with a `DocsThemeChooser` component. This will allow the user to choose which theme the examples inside the theme chooser will display with.
359359+360360+```md
361361+::DocsThemeChooser
362362+ ::DocsExample
363363+ ---
364364+ id: core-navigation-button--default-filled
365365+ ---
366366+ ::
367367+ ::DocsExample
368368+ ---
369369+ id: core-navigation-button--default-outlined
370370+ ---
371371+ ::
372372+::
373373+```
374374+375375+::DocsThemeChooser
376376+ ::DocsExample
377377+ ---
378378+ id: core-navigation-button--default-filled
379379+ ---
380380+ ::
381381+ ::DocsExample
382382+ ---
383383+ id: core-navigation-button--default-outlined
384384+ ---
385385+ ::
386386+::
387387+388388+### DocsCard && DocsCardGrid
389389+390390+Cards can also be added. Ensure that you wrap them with DocsCardGrid so that they are layout out correctly. DocsCard use the 'promo' type card under the hood.
391391+392392+```md
393393+::DocsCardGrid
394394+ ::DocsCard
395395+ ---
396396+ title: Button
397397+ url: /design-system/components/button
398398+ ---
399399+ Here's the summary text
400400+ ::
401401+402402+ ::DocsCard
403403+ ---
404404+ title: Vic gov
405405+ url: https://www.vic.gov.au/
406406+ ---
407407+ Here's the summary text
408408+ ::
409409+410410+ ::DocsCard
411411+ ---
412412+ title: Code standards
413413+ url: /framework/code-standards
414414+ ---
415415+ Here's the summary text
416416+ ::
417417+::
418418+```
419419+420420+::DocsCardGrid
421421+ ::DocsCard
422422+ ---
423423+ title: Button
424424+ url: /design-system/components/button
425425+ ---
426426+ Here's the summary text
427427+ ::
428428+429429+ ::DocsCard
430430+ ---
431431+ title: Vic gov
432432+ url: https://www.vic.gov.au/
433433+ ---
434434+ Here's the summary text
435435+ ::
436436+437437+ ::DocsCard
438438+ ---
439439+ title: Code standards
440440+ url: /framework/code-standards
441441+ ---
442442+ Here's the summary text
443443+ ::
444444+::