-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #495 from zenn-dev/fix-examples
zenn-cli の articles の example を整理
- Loading branch information
Showing
21 changed files
with
1,003 additions
and
741 deletions.
There are no files selected for viewing
596 changes: 596 additions & 0 deletions
596
packages/zenn-cli/articles/100-example-markdown-guide.md
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
packages/zenn-cli/articles/toc-check.md → ...enn-cli/articles/101-example-toc-check.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/zenn-cli/articles/example-images.md → ...s/zenn-cli/articles/200-example-images.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/zenn-cli/articles/code-fence.md → ...nn-cli/articles/201-example-code-fence.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: '埋め込みのテスト(GitHub)' | ||
type: 'tech' # or "idea" | ||
topics: ['embed', 'test'] | ||
emoji: 🐲 | ||
published: true | ||
--- | ||
|
||
`<iframe />` を用いて要素を表示する機能の一覧 | ||
|
||
## GitHub | ||
|
||
**短い行数** | ||
|
||
https://github.com/zenn-dev/zenn-editor/blob/canary/lerna.json | ||
|
||
**長い行数** | ||
|
||
https://github.com/zenn-dev/zenn-editor/blob/canary/pnpm-lock.yaml | ||
|
||
**行数指定** | ||
|
||
https://github.com/zenn-dev/zenn-editor/blob/canary/pnpm-lock.yaml#L4-L14 | ||
|
||
**開始行のみ指定** | ||
|
||
https://github.com/zenn-dev/zenn-editor/blob/canary/pnpm-lock.yaml#L4 | ||
|
||
## Gists | ||
|
||
https://gist.github.com/hofmannsven/9164408 | ||
https://gist.github.com/lmars/8be1952a8d03f8a31b17 | ||
|
||
@[gist](https://gist.github.com/mattpodwysocki/218388) | ||
|
||
### specific file | ||
|
||
https://gist.github.com/hofmannsven/9164408?file=my.cnf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
title: '埋め込みのテスト(X)' | ||
type: 'tech' # or "idea" | ||
topics: ['embed', 'test'] | ||
emoji: 🐲 | ||
published: true | ||
--- | ||
|
||
## `@[tweet]` 記法(`twitter.com`) | ||
|
||
@[tweet](https://twitter.com/jack/status/20) | ||
|
||
@[tweet](https://twitter.com/steelydylan/status/1253567029010825216) | ||
|
||
## `@[tweet]` 記法(`x.com`) | ||
|
||
@[tweet](https://x.com/jack/status/20) | ||
|
||
@[tweet](https://x.com/steelydylan/status/1253567029010825216) | ||
|
||
## URL埋め込み(`twitter.com`) | ||
|
||
https://twitter.com/jack/status/20 | ||
|
||
https://twitter.com/steelydylan/status/1253567029010825216 | ||
|
||
## URL埋め込み(`x.com`) | ||
|
||
https://x.com/jack/status/20 | ||
|
||
https://x.com/steelydylan/status/1253567029010825216 | ||
|
||
## URLパラメーター | ||
|
||
### なし | ||
|
||
https://twitter.com/jack/status/1364262123417726976 | ||
|
||
### with `?conversation=none` | ||
|
||
https://twitter.com/jack/status/1364262123417726976?conversation=none | ||
|
||
### with `&t=hoge` | ||
|
||
https://twitter.com/jack/status/1364262123417726976?conversation=none&t=hoge |
4 changes: 2 additions & 2 deletions
4
packages/zenn-cli/articles/mermaid.md → ...cli/articles/303-example-embed-mermaid.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.