Skip to content

Commit

Permalink
add markdown demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
semanticdata committed Sep 26, 2023
1 parent 5fb155d commit 9d14f1e
Show file tree
Hide file tree
Showing 4 changed files with 161 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*.md linguist-detectable

# Auto detect text files and perform LF normalization
* text=auto
* text=auto eol=lf

# The above will handle all files NOT found below
# Documents
Expand Down
6 changes: 5 additions & 1 deletion .obsidian/plugins/home-tab/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@
"markdownOnly": false,
"unresolvedLinks": false,
"recentFilesStore": [
{
"filepath": "markdown-demo.md",
"timestamp": 1695747111237
},
{
"filepath": "README.md",
"timestamp": 1695354360789
"timestamp": 1695746956264
},
{
"filepath": "assets/cookie-enjoyer.png",
Expand Down
29 changes: 10 additions & 19 deletions .obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,15 @@
"type": "split",
"children": [
{
"id": "70d7363eadc84a5a",
"id": "8afe82f3275d94fa",
"type": "tabs",
"children": [
{
"id": "050d0520e9ead675",
"id": "6092e4b3e59dc8df",
"type": "leaf",
"pinned": true,
"state": {
"type": "markdown",
"state": {
"file": "README.md",
"mode": "source",
"source": false
},
"pinned": true
"type": "home-tab-view",
"state": {}
}
}
]
Expand Down Expand Up @@ -79,7 +73,6 @@
"state": {
"type": "backlink",
"state": {
"file": "README.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand All @@ -103,9 +96,7 @@
"type": "leaf",
"state": {
"type": "outline",
"state": {
"file": "README.md"
}
"state": {}
}
}
]
Expand All @@ -118,19 +109,19 @@
"left-ribbon": {
"hiddenItems": {
"command-palette:Open command palette": false,
"omnisearch:Omnisearch": false,
"yet-another-obsidian-synchronizer:YAOS": false,
"switcher:Open quick switcher": false,
"templates:Insert template": false,
"table-editor-obsidian:Advanced Tables Toolbar": false,
"templates:Insert template": false
"omnisearch:Omnisearch": false
}
},
"active": "050d0520e9ead675",
"active": "6092e4b3e59dc8df",
"lastOpenFiles": [
"markdown-demo.md",
"README.md",
"assets/cookie-enjoyer.png",
"journals/first-journal.md",
"templates/daily-journal.md",
"README.md",
"journals",
"templates",
"assets",
Expand Down
145 changes: 145 additions & 0 deletions markdown-demo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
---
title: Markdown Demo
tags: [markdown, reference]
compartir: true
lastmod: 2023-09-26
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. Aenean ligula nunc, laoreet id sem in, interdum bibendum felis.

<!-- more -->

# H1 Heading 1

## H2 Heading 2

### H3 Heading 3

#### H4 Heading 4

##### H5 Heading 5

###### H6 Heading 6

## Text Formatting

Text can be **bold**, _italic_, or ~~strikethrough~~.

You can [link](https://example.dom/) to external pages. and other internal [[Markdown|links]].

## Blockquotes

### Example 1

> This is a blockquote
> with several lines
### Example 2

> ## This is a header.
> 1. This is the first list item.
> 2. This is the second list item.
>
> Here's some example code:
>
> Markdown.generate();
## Lists

### Ordered List

1. First item
2. Second item
3. Third item

### Unordered List

* List item
* Another item
* And another item

### Nested List

* Item
1. First Sub-item
2. Second Sub-item

## Code

### Inline Code

Let us use some `inline code` and check out how it `looks`. Here's some `more`.

### Code Blocks

```html
<html>
<head>
<div style="background-color: #333;">
<a href="https://example.com/">Example</a>
</div>
</head>
</html>
```

```css
.niceClass {
color: blue;
background-color: #fff;
}
```

```js
// Javascript code with syntax highlighting.
var fun = function lang(l) {
dateformat.i18n = require('./lang/' + l)
return true;
}
```

## Tables

|head one|head two|head three|
|---|:---:|---:|
|ok|good swedish fish|nice|
|out of stock|good and plenty|nice|
|ok|good `oreos`|hmm|
|ok|good `zoute` drop|yumm|

## Inline Markdown Within Tables

| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; | Table |
| ---------- | --------- | ----------------- | ---------- |
| _italics_ | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; | `code` |

## Horizontal Rule

---

## Tasks and Todos

- [ ] Pending Task
- [x] Completed Task
* [-] Won't Do Task
* [/] In Progress Task
* [*] You are a star.
* [!] Exclamation Mark!
* [?] Question Mark?
* [<] Scheduled Task
* [>] Forwarded Task

## Images

![image](https://just-the-docs.com/assets/images/small-image.jpg)

## Other Elements — Abbr, Sub, Sup, Kbd, Mark

<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.

H<sub>2</sub>O

X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>

Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.

Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.

0 comments on commit 9d14f1e

Please sign in to comment.