Hi Adam,
"Demonstrating PERL with Tic-Tac-Toe, Part 2" is ready for editing.
P.S. To try to comply with a reader's request, I used ol tags in the example code blocks so that the numbers would not get copied. Unfortunately, Wordpress's WYSIWYG editor does not seem to like the ol tags. Consequently, you might need to use the code editor view to edit some blocks. Everything appears fine in preview mode, so I don't expect that the ol will be a problem for the published article.
On Fri, 2020-02-28 at 15:15 -0600, Gregory Lee Bartholomew wrote:
Hi Adam,
"Demonstrating PERL with Tic-Tac-Toe, Part 2" is ready for editing.
In future, it would be better if we could encode this with a style rather than hacking article text like this. The ol element isn't really intended for this use case.
On Fri, Feb 28, 2020, 4:23 PM Gregory Lee Bartholomew < gregory.lee.bartholomew@gmail.com> wrote:
P.S. To try to comply with a reader's request, I used ol tags in the example code blocks so that the numbers would not get copied. Unfortunately, Wordpress's WYSIWYG editor does not seem to like the ol tags. Consequently, you might need to use the code editor view to edit some blocks. Everything appears fine in preview mode, so I don't expect that the ol will be a problem for the published article.
On Fri, 2020-02-28 at 15:15 -0600, Gregory Lee Bartholomew wrote:
Hi Adam,
"Demonstrating PERL with Tic-Tac-Toe, Part 2" is ready for editing.
Fedora Magazine mailing list -- magazine@lists.fedoraproject.org To unsubscribe send an email to magazine-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/magazine@lists.fedoraproject.o...
I did initially try using the css user-select style if that is what you mean. It didn't seem to work though. It should be pretty trivial to go back to just plain text with the numbers inlined if you think using the ol might be a problem. I was just trying to comply with a reader's request.
On Fri, Feb 28, 2020 at 5:26 PM Paul Frields stickster@gmail.com wrote:
In future, it would be better if we could encode this with a style rather than hacking article text like this. The ol element isn't really intended for this use case.
On Fri, Feb 28, 2020, 4:23 PM Gregory Lee Bartholomew < gregory.lee.bartholomew@gmail.com> wrote:
P.S. To try to comply with a reader's request, I used ol tags in the example code blocks so that the numbers would not get copied. Unfortunately, Wordpress's WYSIWYG editor does not seem to like the ol tags. Consequently, you might need to use the code editor view to edit some blocks. Everything appears fine in preview mode, so I don't expect that the ol will be a problem for the published article.
On Fri, 2020-02-28 at 15:15 -0600, Gregory Lee Bartholomew wrote:
Hi Adam,
"Demonstrating PERL with Tic-Tac-Toe, Part 2" is ready for editing.
Fedora Magazine mailing list -- magazine@lists.fedoraproject.org To unsubscribe send an email to magazine-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/magazine@lists.fedoraproject.o...
I got the idea to use the ol inside the pre element from perldoc site btw. It is done, for example, here: https://perldoc.perl.org/5.30.0/perlhist.html
I'm not saying that that makes it "right". I'm just saying that I've seen it done that way.
On Fri, Feb 28, 2020 at 5:49 PM Gregory Bartholomew < gregory.lee.bartholomew@gmail.com> wrote:
I did initially try using the css user-select style if that is what you mean. It didn't seem to work though. It should be pretty trivial to go back to just plain text with the numbers inlined if you think using the ol might be a problem. I was just trying to comply with a reader's request.
On Fri, Feb 28, 2020 at 5:26 PM Paul Frields stickster@gmail.com wrote:
In future, it would be better if we could encode this with a style rather than hacking article text like this. The ol element isn't really intended for this use case.
On Fri, Feb 28, 2020, 4:23 PM Gregory Lee Bartholomew < gregory.lee.bartholomew@gmail.com> wrote:
P.S. To try to comply with a reader's request, I used ol tags in the example code blocks so that the numbers would not get copied. Unfortunately, Wordpress's WYSIWYG editor does not seem to like the ol tags. Consequently, you might need to use the code editor view to edit some blocks. Everything appears fine in preview mode, so I don't expect that the ol will be a problem for the published article.
On Fri, 2020-02-28 at 15:15 -0600, Gregory Lee Bartholomew wrote:
Hi Adam,
"Demonstrating PERL with Tic-Tac-Toe, Part 2" is ready for editing.
Fedora Magazine mailing list -- magazine@lists.fedoraproject.org To unsubscribe send an email to magazine-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/magazine@lists.fedoraproject.o...
I just thought of a last-minute change that I wanted to make to the code anyway, so I went ahead and reverted the format back to just plain text with the numbers inlined. It might be nice to have a preformatted-with-line-numbers Wordpress style at some point, but it isn't really necessary.
On Fri, Feb 28, 2020 at 5:53 PM Gregory Bartholomew < gregory.lee.bartholomew@gmail.com> wrote:
I got the idea to use the ol inside the pre element from perldoc site btw. It is done, for example, here: https://perldoc.perl.org/5.30.0/perlhist.html
I'm not saying that that makes it "right". I'm just saying that I've seen it done that way.
On Fri, Feb 28, 2020 at 5:49 PM Gregory Bartholomew < gregory.lee.bartholomew@gmail.com> wrote:
I did initially try using the css user-select style if that is what you mean. It didn't seem to work though. It should be pretty trivial to go back to just plain text with the numbers inlined if you think using the ol might be a problem. I was just trying to comply with a reader's request.
On Fri, Feb 28, 2020 at 5:26 PM Paul Frields stickster@gmail.com wrote:
In future, it would be better if we could encode this with a style rather than hacking article text like this. The ol element isn't really intended for this use case.
On Fri, Feb 28, 2020, 4:23 PM Gregory Lee Bartholomew < gregory.lee.bartholomew@gmail.com> wrote:
P.S. To try to comply with a reader's request, I used ol tags in the example code blocks so that the numbers would not get copied. Unfortunately, Wordpress's WYSIWYG editor does not seem to like the ol tags. Consequently, you might need to use the code editor view to edit some blocks. Everything appears fine in preview mode, so I don't expect that the ol will be a problem for the published article.
On Fri, 2020-02-28 at 15:15 -0600, Gregory Lee Bartholomew wrote:
Hi Adam,
"Demonstrating PERL with Tic-Tac-Toe, Part 2" is ready for editing.
Fedora Magazine mailing list -- magazine@lists.fedoraproject.org To unsubscribe send an email to magazine-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/magazine@lists.fedoraproject.o...
Thanks Gregory for working on this!
I'm just editing it and will shortly schedule it for tomorrow.
Cheers! Adam
On Sun, Mar 1, 2020 at 6:36 PM Gregory Bartholomew < gregory.lee.bartholomew@gmail.com> wrote:
I just thought of a last-minute change that I wanted to make to the code anyway, so I went ahead and reverted the format back to just plain text with the numbers inlined. It might be nice to have a preformatted-with-line-numbers Wordpress style at some point, but it isn't really necessary.
On Fri, Feb 28, 2020 at 5:53 PM Gregory Bartholomew < gregory.lee.bartholomew@gmail.com> wrote:
I got the idea to use the ol inside the pre element from perldoc site btw. It is done, for example, here: https://perldoc.perl.org/5.30.0/perlhist.html
I'm not saying that that makes it "right". I'm just saying that I've seen it done that way.
On Fri, Feb 28, 2020 at 5:49 PM Gregory Bartholomew < gregory.lee.bartholomew@gmail.com> wrote:
I did initially try using the css user-select style if that is what you mean. It didn't seem to work though. It should be pretty trivial to go back to just plain text with the numbers inlined if you think using the ol might be a problem. I was just trying to comply with a reader's request.
On Fri, Feb 28, 2020 at 5:26 PM Paul Frields stickster@gmail.com wrote:
In future, it would be better if we could encode this with a style rather than hacking article text like this. The ol element isn't really intended for this use case.
On Fri, Feb 28, 2020, 4:23 PM Gregory Lee Bartholomew < gregory.lee.bartholomew@gmail.com> wrote:
P.S. To try to comply with a reader's request, I used ol tags in the example code blocks so that the numbers would not get copied. Unfortunately, Wordpress's WYSIWYG editor does not seem to like the ol tags. Consequently, you might need to use the code editor view to edit some blocks. Everything appears fine in preview mode, so I don't expect that the ol will be a problem for the published article.
On Fri, 2020-02-28 at 15:15 -0600, Gregory Lee Bartholomew wrote:
Hi Adam,
"Demonstrating PERL with Tic-Tac-Toe, Part 2" is ready for editing.
Fedora Magazine mailing list -- magazine@lists.fedoraproject.org To unsubscribe send an email to magazine-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/magazine@lists.fedoraproject.o...
magazine@lists.fedoraproject.org