Our forum uses tables to describe the function of digital synthesizer modules. In the first column, we use a picture. Because Discourse inserts a | between the file name and resolution, it breaks the link to the picture when using it in a column.
The solution is you have to delete the | symbol. Not a big deal, but also not intuitive for beginners.
Meter | Displays
---|---
 | `Pattern`
Sure, but you can also just delete the | as well. I’m personally not super versed in code so I had to puzzle through this at first.
Perhaps it’s not worth changing, I just thought maybe no one was really using pictures in tables and no one had come across this before. Not a big deal, I made a note of it on a tutorial about tables on our forum.
Maybe if I get this right, if the picture doesn’t load, it would say “Meter-Pattern” with your \ solution and “Meter-Pattern108x108” if you did it by deleting the |?
I will amend the advice on the forum to reflect this. Thanks a lot! I’m so psyched about the powers of this new forum. We were struggling on an old version of Vanilla that didn’t even have bold text. Yeesh.
Agree, very interesting edge case. If we give up allowing , in title for images we can work around it but I wonder if this is a bug @Vitaly in the ordering of the table processing in the pipeline (maybe we should process images prior to tables)? (see OP)
La table est analysée au niveau du bloc. Elle ne peut pas passer en mode inline avant de détecter la disposition des cellules. Ainsi, elle ne traite que les backticks et les échappements.
Étant donné que les tables ne font pas partie de la spécification CommonMark, nous suivons la spécification GFM. Vous pouvez vérifier, GitHub se comporte de la même manière.
En bref : actuellement, tous les backticks et les caractères pipe à l’intérieur des tables DOIVENT être échappés.
Si vous souhaitez un comportement différent, vous devez demander aux gars de GitHub de mettre à jour la spécification. Mais, personnellement, je ne suis pas sûr que de bonnes résolutions soient possibles au niveau de la spécification. À mon avis, ce cas est très spécifique, a une solution de contournement et ne vaut pas les efforts à dépenser pour la refonte des spécifications/parseurs.