mirror of
https://github.com/bspeice/speice.io
synced 2025-09-05 22:25:04 -04:00
Style changes
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
---
|
||||
slug: mdx-blog-post
|
||||
title: MDX Blog Post
|
||||
title: MDX Blog Post With An Extraordinarily Long Title
|
||||
date: 2021-08-02 10:00:00
|
||||
authors: [bspeice]
|
||||
tags: []
|
||||
@ -24,10 +24,19 @@ Use the power of React to create interactive blog posts.
|
||||
For example, use JSX to create an interactive button:
|
||||
|
||||
```js
|
||||
// highlight-start
|
||||
<button onClick={() => alert('button clicked!')}>Click me!</button>
|
||||
// highlight-end
|
||||
<button onClick={() => alert('button clicked!')}>Click me!</button>
|
||||
```
|
||||
|
||||
```cpp
|
||||
class MyClass {
|
||||
public:
|
||||
MyClass() = default;
|
||||
};
|
||||
|
||||
int main() {
|
||||
auto x = 24;
|
||||
}
|
||||
```
|
||||
|
||||
<button onClick={() => alert('button clicked!')}>Click me!</button>
|
||||
|
Reference in New Issue
Block a user