-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Make .RenderString
render shortcodes
#6703
Comments
I just came across I see value in it handling that, if not, an alternative like |
also seeing a need for this.. |
Filling up my notification screen with "I need this, too" does not help. |
Hello @mlake, usually a "thumb up" emoji on the issue's description is enough to notify of your interest in this issue being treated. You'll get the same effect without the noise. Thanks a ton! |
This is a huge need for us. Partials allow for a lot of DRYness in our docs site and not being able to include markdown with other shortcodes in it (like relrefs) is painful. |
Hi I stumbled on this issue, and I wonder if the new I have a mardown table that I'd like to wrap in a div, and I'd have shortcodes to highlight / mark some text in this table.
My shortcodes are
However with this code the table is broken as soon as there's the I've tried using
|
@regisphilibert would you expect |
Yes! I would think so. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
As requested I'm re-creating this issue.
Now that we have
.RenderString
. The problem mentioned in #6094 (comment) has been lifted and we should consider having.RenderString
process shortcodes.Do we really need this?
When building a page with blocks of data (CMS Blocks, Page Builders and so on), most of those are saved as Front Matter. It then falls on the developer to range on those blocks and apply the proper data processing/partial loading etc...
In the context of a very nice to have page builder, Hugo shortcodes are currently unusable by the editor and any search-and-replace workaround cooked up by developers (been there) will never match the reliability and usability of Hugo's shortcode API.
Will it break code?
The
.RenderString
method is fairly new and I don't see anyone including shortcodes in there with the expectation that they would not be processed. So I think: NoThe text was updated successfully, but these errors were encountered: