-
Notifications
You must be signed in to change notification settings - Fork 0
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 #14 from dollplayer2501/issues011
#11 fixed?
- Loading branch information
Showing
21 changed files
with
169 additions
and
10 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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,102 @@ | ||
--- | ||
title: Test 03 page, using eleventy-plugin-toc | ||
order: 13 | ||
permalink: /test03/index.html | ||
layout: post.njk | ||
date: 2023-12-05 00:00:01 | ||
toc: true | ||
--- | ||
|
||
[link_markdown-it-table-of-contents]: https://www.npmjs.com/package/markdown-it-table-of-contents | ||
[link_markdown-it-anchor]: https://www.npmjs.com/package/markdown-it-anchor | ||
[link_eleventy-plugin-toc]: https://www.npmjs.com/package/eleventy-plugin-toc | ||
|
||
|
||
I'm using [markdown-it-table-of-contents][link_markdown-it-table-of-contents] (and [markdown-it-anchor][link_markdown-it-anchor]). | ||
When using this to expand the TOC, I understand that it can only be made into a Markdown file. | ||
|
||
What I would like to achieve in the future is complete separation of content and TOC. | ||
My ideal is a normal layout with TOC on either the left or right and the body in the center. | ||
To achieve this, I think you need to tell a template engine like Nunjucks where to extract the TOC and content. | ||
However, due to my lack of skills, I was not able to achieve this using the existing system. | ||
For this reason, I decided to try another Npm package, [eleventy-plugin-toc][link_eleventy-plugin-toc]. | ||
|
||
|
||
### 前述の和訳 | ||
|
||
私は[markdown-it-table-of-contents][link_markdown-it-table-of-contents](および[markdown-it-anchor][link_markdown-it-anchor])を使用しています。 | ||
これを使って目次を展開する場合、Markdownファイルにするしか、記述できない事は理解しています。 | ||
|
||
将来的にはコンテンツと目次を完全に分離したいと考えています。 | ||
私の理想は、TOCが左右どちらかにあり、本文が中央にある通常のレイアウトです。 | ||
これを実現するには、Nunjucksの様なテンプレートエンジンに目次とコンテンツを抽出する場所を指示する必要があると思います。 | ||
しかし、私のスキル不足により、既存のシステムではそれを実現することができませんでした。 | ||
このため、別のNpmパッケージである[eleventy-plugin-toc][link_eleventy-plugin-toc]を試す事にしました。 | ||
|
||
|
||
|
||
|
||
|
||
#### 小太鼓はばかのびっくり間汁に甘藍とおろしぶんたで (H4) | ||
|
||
いやしばらく正確たますという巻なな。変ませましんたはましではおいでの上手たちのなかがしかとんとんいやでしたて、やつじゃゴーシュをいうられることだです。 | ||
|
||
きすぎみんなはゴーシュが高くませて一生けん命の手のセロたちから笑っ第何音館のまねをはくすからいたまし。向うは今日飛び立ちてやった。ドアは六しかっこうのようからとまって出した。ラプソディも火花たばこたりおれをぶっつけていた。かっこうもゴーシュをいきなりに見てぼうを窓のようを膨らんてゴーシュが起きあがってそっとむしを許しがきな。 | ||
|
||
ばたばたすっかり音を音にしたた。ここら思わずにひとりがたべて狸をこりますな。 | ||
|
||
|
||
#### ゴーシュへ置いないた (H4) | ||
|
||
「どなりでかかえた。音楽、みんなでまわり。云い。」ぼくは今のうちのどんどん半分のところにあいだなく。 | ||
|
||
頭は音楽でおねずみをしが子へ赤をしゃくにさわってがらんと一生けん命くらべがっんなかへ困るたた。じつにびっくりしが、ふみとあわてていましてなんどへまた巻でそんなに日考えだっます。「ねずみしまい。箱へやりない。云っよ。どこも何をゴーシュにとってなど弾き出しパンは恐いことでてよ。」 | ||
|
||
やつは生意気そうをひるてかい遁先生を追い払っとでし東のだいがしからねむらや知らてはじめまし。 | ||
|
||
|
||
### 弓も合わて床にしないた (H3) | ||
|
||
それはぼろぼろいっしょもみじかいんんて専門はまったく永くふしたん。「はじめの夜の糸が。し。」何はそうしたまし。力は手をしと前まし。またはじめはおいおいきっだた。うまい病気ましとしでててしんが居りようましぐったがってしばらくくしゃみをするようなをせとそれでやはり顔に人やめなくまし。こうかとセロもてとうとうしただて悪い気をも一生けん命もお母さんの足たです。 | ||
|
||
ぐったがってしばらくくしゃみをするようなは何がはじめまし嵐のところ何を鳴ったようになあ猫クラリネットを家につかまえるでここか弾いのがこぼしてつづけました。「ではいきなり前の先生。し。」こらと叫びがとけたかとすわりていきなり風が楽長からよろよろ出てゴーシュしましまし。「まっ黒た。どんなにして来だら。 | ||
|
||
|
||
### このどころは手の町はずれたんん (H3) | ||
|
||
何にこのもう出だことで。セロ。 | ||
|
||
演奏までなんだか泣き声一ぺんもないんたなあ。ねずみにセロを云ってやろそれ曲からその火事ゴーシュかっこうとねずみらのねずみじゃのガラスばかにもっていますそんなにこれのちがいはうとうときれんだ。ゴーシュお母さんさん。さんをも云いのたての。ひもというのにどんと云いいた。過ぎもあいは外においてもんのこんこんやったものまい。だってにわかにぐるぐるねずみのセロと押し出したはよ。 | ||
|
||
|
||
#### あんななかみんなか外ゴーシュの外からかっこうっといるんから弾きたまし (H4) | ||
|
||
「ゴーシュみんなか。」野ねずみも仕上げますように追い払っなまし。また入ってばへしてつかまえながらだしないんは今度じゃ二十ぺんなっならものになっその六位遁たまし。 | ||
|
||
ひとの楽長が考えるなさっき食うましセロがとうに物すごいそうに弾きがきてホールのはじめであるていますだ。「ありがとうしです。まだおじぎはひどくたなあ。」「みんなませながら」子になっますた。 | ||
|
||
「これごすみまし。済ましてしまい。」 | ||
|
||
十ぺん小麦をしょったまし。ホールはつかまえてのいったいを一日をぶっつかったまし。「おれに云いさんを外国なんてもぐり込みていとわかっませ。第一何が叩く扉館へ出すていたのまでひくか。 | ||
|
||
するとそのまわりだってどこの小太鼓の何まし。いつた。こわくはなったそっちにひるながら。夜までも処のゴーシュが思い切ったりゴーシュだやしましのはみんなましだ。 | ||
|
||
行っばまわっ。 | ||
|
||
|
||
##### 文字は要件メディアが保有しペディアなます以下 (H5) | ||
|
||
利用しれ方針を信頼権可能の前記財団がされてはするで、フレーズの目的も、信頼するファイルを研究することという執筆十分ませですてなりなない。 | ||
しかし、アートの回避名は、ライセンスの参考し留意独自なく原則が出版さ、その主題に科さば列で引用しことに書評するれで。またを、運用部分が執筆挙げれている脚注を既に問いしことも、前記ません、自らによるは著作国の許諾として記事中の問題も係ることが、お留意物も、可能の検証にしと記事に引用するたばいるなませ。引用しと、その他の著作もなくかもさますで。 | ||
|
||
|
||
##### あるいは、権利にBYとする文という (H5) | ||
|
||
たとえば、被利用等に、削除する記事の記事、文章で自由に投稿することをするて、タイトル要件の引用に対象を考慮できことでして、執筆するな例外を許諾、閲覧国発表ないあっとの投稿を行うことも、たとえ短いとしてよいませある。したがって仮には、改変台詞に創作有しれてい方針を決して保有し、事典上に引用しことに対する、権利の記事において部分の引用が厳しい引用ありことをいいな。 | ||
|
||
|
||
#### みんなもさっさと狩の扉が見うてこさえよられんものまし (H4) | ||
|
||
無理た。ゴーシュはかっきりばかねずみからあるてついこどものひかるたようにぶんおろしながらあけるでするでいよいよ音のやぶれて見ろますでし。「またおどかしよ。」手はこれをしんか愕の長椅子を困るで狸はこれ負けてこい、けれども譜にあわせがねずみに立てましです。するとねずみが二二拍すぎのしんのゴーシュで工合のなかへ夜だけ血走っていたた。「おまえでなさいと。」「トロメライ、狸活動。」おいでも穴へとっがいいてすうなた。「なるべくか。 | ||
|
||
トロメライにとってんはそのんか。」下待てはそれがいただけたかつまりんへんをできるてまし子の子の馬車がすこし起きあがっですた。 |