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 code blocks #7

Open
ahangarha opened this issue Jan 28, 2022 · 1 comment
Open

Add support for code blocks #7

ahangarha opened this issue Jan 28, 2022 · 1 comment
Milestone

Comments

@ahangarha
Copy link
Member

No description provided.

@ahangarha ahangarha added this to the v0.2.0 milestone Jan 28, 2022
@iMrDJAi iMrDJAi changed the title Add support for block of code Add support for code blocks Feb 1, 2022
@ahangarha
Copy link
Member Author

Code block gets implemented like this:

<pre><code>
the code
</code></pre>

Since code is inline, adding dir="auto" won't help. We need some css trick like this:

pre > code {
    unicode-bidi: plaintext;
    text-align: start;
    display: block;
}

@ahangarha ahangarha modified the milestones: v0.2.0, v1.0.0 Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant