From: David G. <go...@py...> - 2017-05-11 16:00:23
|
On Thu, May 11, 2017 at 10:37 AM, Matěj Cepl <mc...@ce...> 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> |