nus-cs2113-AY2223S1 / forum

4 stars 0 forks source link

Formatting issues on GitHub Pages #15

Open maanyos opened 1 year ago

maanyos commented 1 year ago

Hi, I've ran into the issue mentioned on the CS2113 website where the user guide doesn't render properly on html after conversion by GitHub pages.

I'm trying to use collapsible tabs to compress the elaborations for each command keyword and it's supposed to look like this, which seems correct in the preview:

hi - to greet Slave Kai

details Slave Kai will respond with a greeting >Example of usage: >`hi` > >Expected outcome: >Slave Kai's response >``` >Howdy! >```

However, after GitHub Pages converts to html, this is what it looks like on the website (screenshot below): Screenshot (159)

I've tried using \

, adding empty lines after \, changing the syntax, but they seem to either disjoint the collapsible tab or do nothing. Anyone knows other methods to deal with this?

okkhoy commented 1 year ago

Hmmm.. I am not 100% sure of my answer. It could be a spacing issue; try adding a new line between the > and >> lines If not, it could be that the theme you have chosen doesn't support multiple levels of bockquotes. Try a different theme.

maanyos commented 1 year ago

neither seems to work prof :( i tried using Jekyll minima and the website theme changes but same formatting error i'll probably just remove the collapse feature

okkhoy commented 1 year ago

oh! I see. That is quite sad. From functionality/correctness point of view, you can probably remove the collapsing thing.