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
This is a demo post to show you how to write blog posts with markdown. I strongly encourage you to [take 5 minutes to learn how to write in markdown](https://markdowntutorial.com/) - it'll teach you how to transform regular text into bold/italics/tables/etc.<br/>I also encourage you to look at the [code that created this post](https://raw.githubusercontent.com/daattali/beautiful-jekyll/master/_posts/2020-02-28-sample-markdown.md) to learn some more advanced tips about using markdown in Beautiful Jekyll.
14
-
15
-
**Here is some bold text**
16
-
17
-
## Here is a secondary heading
18
-
19
-
[This is a link to a different site](https://deanattali.com/) and [this is a link to a section inside this page](#local-urls).
20
-
21
-
Here's a table:
22
-
23
-
| Number | Next number | Previous number |
24
-
| :------ |:--- | :--- |
25
-
| Five | Six | Four |
26
-
| Ten | Eleven | Nine |
27
-
| Seven | Eight | Six |
28
-
| Two | Three | One |
29
-
30
-
You can use [MathJax](https://www.mathjax.org/) to write LaTeX expressions. For example:
31
-
When \\(a \ne 0\\), there are two solutions to \\(ax^2 + bx + c = 0\\) and they are $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
And here is the same code with syntax highlighting:
51
-
52
-
```javascript
53
-
varfoo=function(x) {
54
-
return(x +5);
55
-
}
56
-
foo(3)
57
-
```
58
-
59
-
And here is the same code yet again but with line numbers:
60
-
61
-
{% highlight javascript linenos %}
62
-
var foo = function(x) {
63
-
return(x + 5);
64
-
}
65
-
foo(3)
66
-
{% endhighlight %}
67
-
68
-
## Boxes
69
-
You can add notification, warning and error boxes like this:
70
-
71
-
### Notification
72
-
73
-
{: .box-note}
74
-
**Note:** This is a notification box.
75
-
76
-
### Warning
77
-
78
-
{: .box-warning}
79
-
**Warning:** This is a warning box.
80
-
81
-
### Error
82
-
83
-
{: .box-error}
84
-
**Error:** This is an error box.
85
-
86
-
## Local URLs in project sites {#local-urls}
87
-
88
-
When hosting a *project site* on GitHub Pages (for example, `https://USERNAME.github.io/MyProject`), URLs that begin with `/` and refer to local files may not work correctly due to how the root URL (`/`) is interpreted by GitHub Pages. You can read more about it [in the FAQ](https://beautifuljekyll.com/faq/#links-in-project-page). To demonstrate the issue, the following local image will be broken **if your site is a project site:**
89
-
90
-

91
-
92
-
If the above image is broken, then you'll need to follow the instructions [in the FAQ](https://beautifuljekyll.com/faq/#links-in-project-page). Here is proof that it can be fixed:
0 commit comments