Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for .qmd files #30

Merged
merged 4 commits into from
Apr 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Create example.qmd
  • Loading branch information
chamburr committed Apr 18, 2023
commit 2bce7a2e022955d2daa1c3d9861852d6601c97a2
47 changes: 47 additions & 0 deletions GlanceTests/TestFiles/markdown/example.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
title: "My Document"
output: html_document
---

# My Document

## Emphasis

This is a Markdown document. It may contain **bold** or _italic_ text. Text can also be **_both bold and italic_**.

## Lists

Markdown supports ordered and unordered lists, which may be nested:

1. Item 1
2. Item 2
- Item 2a
- Item 2b

## Code

This `code` is inline. The following is a code block with syntax highlighting:

```js
const print = (text) => console.log(text);
print("Hello world");
```

## Links

Links can be created explicitly ([example](https://example.com)) or detected automatically (https://example.com).

## Blockquotes

You can easily create quotes:

> This is the quote's first line.
>
> This is the second one.

## Tables

| First header | Second header |
| ------------ | ------------- |
| 1 | 2 |
| 3 | 4 |