Add support for rtl and ltr shortcodes#293
Merged
adityatelange merged 2 commits intoadityatelange:masterfrom Mar 22, 2021
mohnoor94:rtl-ltr
Merged
Add support for rtl and ltr shortcodes#293adityatelange merged 2 commits intoadityatelange:masterfrom mohnoor94:rtl-ltr
rtl and ltr shortcodes#293adityatelange merged 2 commits intoadityatelange:masterfrom
mohnoor94:rtl-ltr
Conversation
Owner
adityatelange
left a comment
There was a problem hiding this comment.
@mohnoor94 This seems good, can we have a slight change here, let the content be markdown enabled by default and pass the md=false param to disable it ?
|
Kudos, SonarCloud Quality Gate passed!
|
Contributor
Author
I was thinking about the same tbh. Updated 👍🏼 |
patrickm68
added a commit
to patrickm68/hugo-PaperMod
that referenced
this pull request
May 5, 2022
refer adityatelange/hugo-PaperMod#293 (comment) for usage guide and examples
kylethedeveloper
pushed a commit
to kylethedeveloper/hugo-PaperMod
that referenced
this pull request
Feb 21, 2023
refer adityatelange#293 (comment) for usage guide and examples
torn8to
pushed a commit
to torn8to/torn8to.github.io
that referenced
this pull request
Dec 10, 2024
refer adityatelange/hugo-PaperMod#293 (comment) for usage guide and examples
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is to support
rtlandltrshort-codes.Use Case:
You may need to insert some contents in a different direction compared to your main site direction so that these shortcodes will come in handy.
Important notes:
mdby default.mdparameter tofalse.Examples:
This will result in
rtlcontents rendered usingmd.This will result in a
blockquoteinrtl.This will result in a
blockquoteinrtl(same example above, but with positional argument instead of a named argument in the content file).The
ltrshortcode could be used in the same way but in the context of anrtlwebsite.