Skip to content

Commit

Permalink
Updated pt-br tables post
Browse files Browse the repository at this point in the history
Signed-off-by: George Araújo <[email protected]>
  • Loading branch information
george-gca committed Aug 7, 2024
1 parent f337af5 commit bde496f
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions _posts/pt-br/2023-03-21-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,17 @@ related_posts: true
pretty_table: true
---

Using markdown to display tables is easy. Just use the following syntax:
Using markdown to display tables is easy.

## Simple Example

First, add the following to the post's front matter

```yml
pretty_table: true
```
Then, the following syntax
```markdown
| Left aligned | Center aligned | Right aligned |
Expand All @@ -20,7 +30,7 @@ Using markdown to display tables is easy. Just use the following syntax:
| Left 3 | center 3 | right 3 |
```

That will generate:
will generate

| Left aligned | Center aligned | Right aligned |
| :----------- | :------------: | ------------: |
Expand All @@ -30,6 +40,8 @@ That will generate:

<p></p>

## HTML Example

It is also possible to use HTML to display tables. For example, the following HTML code will display a table with [Bootstrap Table](https://bootstrap-table.com/), loaded from a JSON file:

{% raw %}
Expand Down Expand Up @@ -62,6 +74,8 @@ It is also possible to use HTML to display tables. For example, the following HT

<p></p>

## More Complex Example

By using [Bootstrap Table](https://bootstrap-table.com/) it is possible to create pretty complex tables, with pagination, search, and more. For example, the following HTML code will display a table, loaded from a JSON file, with pagination, search, checkboxes, and header/content alignment. For more information, check the [documentation](https://examples.bootstrap-table.com/index.html).

{% raw %}
Expand Down

0 comments on commit bde496f

Please sign in to comment.