-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support attribute after blocks and titles
- For titles/headings, use the attributes stored in the opening tokens - For other blocks, use the ones stored in the closing tokens
- Loading branch information
Showing
6 changed files
with
118 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
[tool.poetry] | ||
name = "hugo-gettext" | ||
version = "0.1.3" | ||
version = "0.2.0" | ||
description = "I18n with gettext for Hugo" | ||
authors = ["Phu Hung Nguyen <[email protected]>"] | ||
license = "GPL-3.0-or-later" | ||
|
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,49 @@ | ||
--- | ||
authors: | ||
- SPDX-FileCopyrightText: 2023 Phu Hung Nguyen <[email protected]> | ||
SPDX-License-Identifier: CC0-1.0 | ||
--- | ||
# atx heading {#hg-atx} | ||
|
||
setext heading {.hg-setext .hg-setext2 attr="setext heading attribute"} | ||
== | ||
{.hg-setext-block} | ||
|
||
--- | ||
{.hg-hr} | ||
|
||
paragraph here | ||
{.hg-paragraph} | ||
|
||
and more | ||
|
||
> blockquote | ||
> nested coming | ||
> | ||
> > second level | ||
> {.hg-second-bg} | ||
{.hg-first-bq} | ||
|
||
* Fruit | ||
* Apple | ||
* Orange | ||
* Banana | ||
{.hg-fruits} | ||
* Dairy | ||
* Milk | ||
* Cheese | ||
{.hg-dairies} | ||
{.hg-list} | ||
|
||
| head | head2 | | ||
|------|-------| | ||
| body | body2 | | ||
{.hg-table} | ||
|
||
term number 1 | ||
: details number 1 | ||
|
||
term number 2 | ||
: details number 2 | ||
onto the next line, without indentation | ||
{.hg-deflist} |
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