4

I want to post my first question here, and I would like to insert HTML and JavaScript code.

I've been checking questions to different answers, and there is a "run code" button that runs both HTML and JavaScript.

I also see in some answers that they use a "code snippet button" that used to be next to the "images" button, but I cannot see it anymore.

How should I post my HTML and JavaScript code for other users to see what is happening?

Sorry if this is the most basic of the questions, but I do not find a recent answer and I am not sure how to use the code block linking both languages.

6
  • 4
    Oh, it looks like we have a bug (MSE): Code Snippet tool is missing
    – rene
    Commented Aug 16, 2022 at 19:36
  • 1
    The stack-snippet editor option is gone when asking a new question. Once you posted the question the stack-snippet editor option does show-up in the toolbar
    – rene
    Commented Aug 16, 2022 at 19:41
  • thanks @rene , is that a bug that will be fixed, or is it a permanent thing?
    – Rher
    Commented Aug 16, 2022 at 19:44
  • 2
    I assume it is a regression that is introduced with one of the last deploys. I expect it to be restored soon™
    – rene
    Commented Aug 16, 2022 at 19:45
  • 3
    The bug is now status-review which means that SE staff is aware of the problem.
    – rene
    Commented Aug 16, 2022 at 19:59
  • 4
    Now fixed!
    – zcoop98
    Commented Aug 16, 2022 at 23:05

0

Browse other questions tagged .