Re: ISBN URL?
David Goodger <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <CABiJP=JBsSMTV3Neuy+cn93eZZ41rkvLMvGSwO9opy27BVcsLA@mail.gmail.com> |
On Thu, May 11, 2017 at 10:37 AM, Matěj Cepl <[email protected]> wrote: > On 2017-05-10, 21:03 GMT, David Goodger wrote: >> In my inbox I noticed that this went without any replies. Better >> (very) late than never!? > > I have made it into https://gitlab.com/mcepl/docutils/issues/1 > on my repo and I will take a look one day (of course, merge > requests are welcome). > >> Choosing one syntax option arbitrarily, for example, an ISBN >> role could be implemented that takes this reST:: >> >> :ISBN:`The Four Loves <0156329301>` >> >> and results in HTML like:: >> >> <a href="https://en.w…ces?isbn=0156329301">The >> Four Loves</a> > > I think this is the one I would implement. Showing plain ISBN > numbers in the text is a bad idea IMHO and should be made > difficult. I disagree. I can envisage cases where one might want to write something like, See `The Four Loves` by C. S. Lewis (:ISBN:`0156329301`). Note: the result would *not* be just a plain ISBN number, but "ISBN" + the number, in a link. Flexibility is a good thing. > And perhaps the URL should be made configurable so we > and our users are not forever dependent on the English > Wikipedia. Sure. David Goodger <http://python.net/~goodger> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Docutils-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/docutils-users Please use "Reply All" to reply to the list.