Re: Weird Stuff (Markdown, syntax highlighting and Python)

Liste des GroupesRevenir à cl python 
Sujet : Re: Weird Stuff (Markdown, syntax highlighting and Python)
De : grant.b.edwards (at) *nospam* gmail.com (Grant Edwards)
Groupes : comp.lang.python
Date : 27. May 2024, 20:41:15
Autres entêtes
Message-ID : <mailman.46.1716835277.2909.python-list@python.org>
References : 1 2
User-Agent : slrn/1.0.3 (Linux)
On 2024-05-26, Gilmeh Serda via Python-list <python-list@python.org> wrote:
The web claims (I think on all pages I've read about Markdown and Python)
that this code should work, with some very minor variants on the topic:
>
```python
>
import os
>
with open(os.path.join('/home/user/apath', 'somefile')) as f:
    print(f.read())
```
>
However, that is not the case.

For me, that block formats as expected using Python markdown.

What do you mean by "this code should work [...] that is not the case"?

What markdown rendering engine are you using?

--
Grant



Date Sujet#  Auteur
27 May 24 o Re: Weird Stuff (Markdown, syntax highlighting and Python)1Grant Edwards

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal