You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2019-10-26-pyos-min-mistakes-theme.md
+41-17Lines changed: 41 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,28 +49,41 @@ Right aligned text.
49
49
50
50
---
51
51
52
-
**Justified text.**`.text-justify`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vel eleifend odio, eu elementum purus. In hac habitasse platea dictumst. Fusce sed sapien eleifend, sollicitudin neque non, faucibus est. Proin tempus nisi eu arcu facilisis, eget venenatis eros consequat.
52
+
**Justified text.** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vel eleifend odio, eu elementum purus. In hac habitasse platea dictumst. Fusce sed sapien eleifend, sollicitudin neque non, faucibus est. Proin tempus nisi eu arcu facilisis, eget venenatis eros consequat.
53
53
{: .text-justify}
54
54
55
55
```markdown
56
-
Justified text.
56
+
**Justified text.** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vel eleifend odio, eu elementum purus. In hac habitasse platea dictumst. Fusce sed sapien eleifend, sollicitudin neque non, faucibus est. Proin tempus nisi eu arcu facilisis, eget venenatis eros consequat.
<imgsrc="/images/pyopensci-general/pyopensci-timeline2019-2024.png"alt="A timeline showing the growth of pyOpenSci from 2019 to 2024."style="width: 80%;">
72
+
<figcaption>Growth of pyOpenSci from 2019 to 2024. Growth of pyOpenSci from 2019 to 2024. Growth of pyOpenSci from 2019 to 2024. Growth of pyOpenSci from 2019 to 2024. </figcaption>
You can create a basic notice or call out box for a pargraph by adding `{: .notice}` to the line immediately below the paragraph.
315
330
316
-
Call attention to a block of text.
331
+
332
+
```markdown
333
+
**Technical and social skills go hand in hand.** Open source communities are most productive when contributors and maintainers recognize this balance between the technical and social skills associated with contributing.
334
+
{: .notice}
335
+
```
336
+
Which looks like this rendered:
337
+
338
+
**Technical and social skills go hand in hand.** Open source communities are most productive when contributors and maintainers recognize this balance between the technical and social skills associated with contributing.
339
+
{: .notice}
340
+
341
+
There are multiple classes that you can use to modify the background color of the call out block.
317
342
318
343
| Notice Type | Class |
319
344
| ----------- | ----- |
@@ -324,8 +349,7 @@ Call attention to a block of text.
324
349
| Success |`.notice--success`|
325
350
| Danger |`.notice--danger`|
326
351
327
-
**Technical and social skills go hand in hand.** Open source communities are most productive when contributors and maintainers recognize this balance between the technical and social skills associated with contributing. In most cases, all of the people involved in the project are volunteers with varying priorities, skillsets, and motivations to participate.
328
-
{: .notice}
352
+
329
353
330
354
**Watch out!** This paragraph of text has been emphasized with the `{: .notice--primary}` class.
331
355
{: .notice--primary}
@@ -343,10 +367,10 @@ Call attention to a block of text.
343
367
{: .notice--danger}
344
368
345
369
<divclass="notice"markdown="1">
346
-
You can also add the `.notice` class to a `<div>` element like this:
370
+
You can also add the `.notice` class to a `<div>` element. Notice below that `markdown="1"` allows you to use markdwon within the html div.
347
371
348
372
```html
349
-
<divclass="notice">
373
+
<divclass="notice"markdown="1">
350
374
You can also add the .notice class to a <div> element.
0 commit comments