-
Notifications
You must be signed in to change notification settings - Fork 19
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
unknown format names not handled as comments #93
Comments
It might be that is not yet implemented. Thanks for the report anyway. |
It would be great to actually see a rationale behind this decision, sadly it is likely not possible now. |
On Tue, Jul 20, 2021 at 06:21 Altai-man ***@***.***> wrote:
The format name does not have to be comment -- any unrecognized
It would be great to actually see a rationale behind this decision, sadly
it is likely not possible now.
Ask Damian. He has always been helpful with my questions, and he was the
originator of the Raku pod handling (S26). (See notes from Damian under
repo Rakudo/rakudo/docs.)
|
My reading of the current documentation is that |
Possibly new behaviour could be better documented. For example:
This produces (with some formatting):
|
@MARTIMM |
@finanalyst, thank you for your answer. Sorry to have you wait such a long time. I will look at your suggestions to see what they can do for me. Especially the metadata part looks interesting. |
Hi Marcel,
I'm refactoring the distribution in order to use crotmp templates
(currently it uses both Mustache and RakuClosure - an invention of mine).
The tests all pass. But the documentation may be out if sync.
Let me know if you have an issue.
Regards
Richard
…On Sun, Mar 13, 2022, 10:05 Marcel Timmerman ***@***.***> wrote:
@finanalyst <https://github.com/finanalyst>, thank you for your answer.
Sorry to have you wait such a long time. I will look at your suggestions to
see what they can do for me. Especially the metadata part looks interesting.
—
Reply to this email directly, view it on GitHub
<#93 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACYZHA6KJQ7M7IDJJNRCBTU7W4XDANCNFSM5AT4XOHQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I've noticed that the behavior of all Pod::To::* renderers are not following a rule I found in some old text. It states;
Pod sections may be used reliably as multiline comments in Perl 6. Unlike in Perl 5, Pod syntax now lets you use =begin comment and =end comment to delimit a Pod block correctly without the need for =cut. (In fact, =cut is now gone.) The format name does not have to be comment -- any unrecognized format name will do to make it a comment. (However, bare =begin and =end probably aren't good enough, because all comments in them will show up in the formatted output.)
Instead when rendering a piece of code like
It generates HTML code, where the format name becomes a header and code is visible. (Also noticed for Text and Markdown.
I needed the code block to keep the text as-is. Another experiment where I used a
comment block, the code block was not necessary.
At the moment I can get by with
=begin comment :Gnome-T
but the idea above is shorter and shows better what it is needed for.The text was updated successfully, but these errors were encountered: