Hi all, I noticed that in the 16S microbial analysis tutorial
That the zenodo links for importing the data each have a space in front of them, which prevents them being detected as links during import. Has anyone else had this problem?
Hi all, I noticed that in the 16S microbial analysis tutorial
That the zenodo links for importing the data each have a space in front of them, which prevents them being detected as links during import. Has anyone else had this problem?
Yes, Iāve seen that in other tutorials, and fixed it up. Was a simple editing mistake by whoever last touched that view.
If you want ā¦ you could edit that file. It will start up a pull-request to fix it. All can be done through the web browser directly from the tutorial page. You donāt need to know anything special about Github to do that. Look in the masthead for the āeditā button. Community contributions are welcome!
Or, let me know and I can do it.
Hi @jennaj
I checked the markdown file on github but the links to the data files seem to be fine. Maybe someone else has fixed it but the changes havenāt been published? Maybe you could have a look?
Thanks!
Will do. Now Iām wondering if that was mine from about a year ago ā¦
Update:
I was able to confirm ā¦ the md file is fine. The site builds itself so Iām not sure what is going on! Decided to open a ticket so the administrators can review more and fix it. Spaces showing up for Zenodo links but absent from md Ā· Issue #4853 Ā· galaxyproject/training-material Ā· GitHub
Thanks for the follow up!
Iām afraid the spacing was indeed ever so slightly off in a way thatās very difficult to see at a glance. Itāll be fixed in this pr:
To explain how itās happening, hereās a small snippet of the current state.
To be clear I donāt expect anyone to see this when reviewing or editing, itās extremely non-obvious. (but I a maintainer of a platform with a quarter million lines of markdown).
> - Past
>
> ```
> https
> https
itās slightly clearer without the newline.
> - Past
> ```
> https
> https
Note how the first backtick `
lines up with the space between -
and Past
, this is, surprisingly, wrong. It must be aligned with the text of the Past
. The -
list item requires 1 space of indentation after the -
and 2 spaces on a subsequent line (i.e. aligned with the first) to properly be detected as āpart of this list itemā
Instead it was marked as part of the parent non-list blockquote text. Itās indented by 5 spaces relative to that, 5 is the key number as indentation past 4 triggers a āspace indented code blockā (as opposed to a fenced code block).
Space indented code blocks are sometimes regarded as a mistake. No one uses them, fenced code blocks are far more popular, and theyāre usually just the cause of issues.
So, 4 spaces to trigger the code blcok, and 1 space to break all of your copy pasting
On the GTN side I donāt think we have a good way to prevent this, but I can explore some things in the future. Itās more or less impossible to look at the markdown and infer/validate what the user meant so itās incredibly difficult to prevent it at that level without digging deeply into the internals of our markdown processor. Perhaps we can check code blocks on the output side for consistently unexpected spacing but iām not sure how reliable that will be.