Re: "Demonstrating PERL with Tic-Tac-Toe, Part 2" ready for editor review

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
>>>> To unsubscribe send an email to magazine-leave@xxxxxxxxxxxxxxxxxxxxxxx
>>>> 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@xxxxxxxxxxxxxxxxxxxxxxx
>>>>
>>>
_______________________________________________
Fedora Magazine mailing list -- magazine@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to magazine-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Devel]     [EPEL Announce]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [ET Management Tools]     [Yum Users]     [Fedora Art]     [Fedora ARM]

  Powered by Linux