fix: RTL Steps FileTree, feat: Add Persian number for ol label counter and Steps (#314)

* fix: RTL Steps in steps.html file

* feat: Add bidirectional support

* fix: RTL problem

* fix: RTL problem, feat: Add Persian CSS counter

* feat: Add Persian for ol counter

* fix: styling text

* Add ol output example

* fix: RTL problem

* fix some issue

* fix some issue

* fix some issue
This commit is contained in:
Goudarz Jafari
2024-03-05 11:17:29 +03:30
committed by GitHub
parent fba95d5336
commit 22d4737b99
13 changed files with 85 additions and 37 deletions

View File

@ -1,6 +1,6 @@
---
title: راهنمای استفاده سینتکس مارک‌داون
date: 2020-01-01
date: 2024-03-03
authors:
- name: imfing
link: https://github.com/imfing
@ -8,6 +8,9 @@ authors:
- name: Octocat
link: https://github.com/octocat
image: https://github.com/octocat.png
- name: Goudarz Jafari
link: https://github.com/Goudarz
image: https://github.com/Goudarz.png
tags:
- Markdown
- مثال
@ -78,13 +81,19 @@ _شما **می‌توانید** آنها را ترکیب کنید_
#### مرتب شده
```
۱. مورد ۱
۲. مورد ۲
۳. مورد ۳
۱. مورد ۳الف
۲. مورد ۳ب
1. مورد ۱
2. مورد ۲
3. مورد ۳
1. مورد ۳الف
2. مورد ۳ب
```
1. مورد ۱
2. مورد ۲
3. مورد ۳
1. مورد ۳الف
2. مورد ۳ب
### عکس‌ها
```markdown

View File

@ -17,7 +17,7 @@ Hugo از سینتکس [مارک‌داون](https://en.wikipedia.org/wiki/Markd
| کج | `*متن کج*` | `*متن کج*` | *متن کج* |
| خط خورده | `~~متن خط خورده~~` | `~~متن خط خورده~~` | ~~متن خط خورده~~ |
| پایین‌نویس | `<sub></sub>` | `این یک متن <sub>پایین‌نویس</sub> است` | این یک متن <sub>پایین‌نویس</sub> است |
| بالانویس | `<sup></sup>` | `این یک متن <sub>بالانویس</sub> است` | این یک متن <sub>بالانویس</sub> است |
| بالانویس | `<sup></sup>` | `این یک متن <sup>بالانویس</sup> است` | این یک متن <sup>بالانویس</sup> است |
### بلوک نقل‌قول

View File

@ -10,11 +10,11 @@ next: /docs/guide/deploy-site
{{% steps %}}
### مرحله ۱
. این اولین مرحله است
این اولین مرحله است.
### مرحله ۲
این دمین مرحله است.
این دومین مرحله است.
### مرحله ۳
@ -32,11 +32,11 @@ next: /docs/guide/deploy-site
### مرحله ۱
. این اولین مرحله است
این اولین مرحله است.
### مرحله ۲
این دمین مرحله است.
این دومین مرحله است.
{{%/* /steps */%}}
```

View File

@ -270,7 +270,6 @@
"hx-border-blue-200",
"hx-border-gray-200",
"hx-border-gray-500",
"hx-border-l",
"hx-border-orange-100",
"hx-border-red-200",
"hx-border-t",
@ -360,7 +359,6 @@
"hx-min-w-[18px]",
"hx-min-w-[24px]",
"hx-min-w-full",
"hx-ml-1",
"hx-ml-4",
"hx-mr-1",
"hx-mr-2",
@ -400,8 +398,6 @@
"hx-pb-8",
"hx-pb-[env(safe-area-inset-bottom)]",
"hx-pb-px",
"hx-pl-5",
"hx-pl-6",
"hx-pl-[max(env(safe-area-inset-left),1.5rem)]",
"hx-pointer-events-none",
"hx-pr-2",
@ -514,6 +510,8 @@
"lntd",
"ltr:before:hx-left-0",
"ltr:hx--mr-4",
"ltr:hx-border-l",
"ltr:hx-ml-1",
"ltr:hx-ml-3",
"ltr:hx-ml-auto",
"ltr:hx-mr-auto",
@ -521,6 +519,8 @@
"ltr:hx-pl-16",
"ltr:hx-pl-3",
"ltr:hx-pl-4",
"ltr:hx-pl-5",
"ltr:hx-pl-6",
"ltr:hx-pl-8",
"ltr:hx-pr-0",
"ltr:hx-pr-2",
@ -566,9 +566,11 @@
"rtl:before:hx-right-0",
"rtl:before:hx-rotate-180",
"rtl:hx--ml-4",
"rtl:hx-border-r",
"rtl:hx-left-1.5",
"rtl:hx-left-3",
"rtl:hx-ml-auto",
"rtl:hx-mr-1",
"rtl:hx-mr-3",
"rtl:hx-mr-auto",
"rtl:hx-pl-2",
@ -578,6 +580,8 @@
"rtl:hx-pr-16",
"rtl:hx-pr-3",
"rtl:hx-pr-4",
"rtl:hx-pr-5",
"rtl:hx-pr-6",
"rtl:hx-pr-8",
"rtl:hx-text-left",
"rtl:md:hx-right-auto",