Giter Club home page Giter Club logo

Comments (2)

gparyani avatar gparyani commented on August 16, 2024

This isn't exactly a bug in the editor, but rather the fact that the server-side Markdown renderer doesn't support any type of block Markdown formatting in spoilers. The real fix here is to fix the server-side renderer so it supports block formatting in spoilers. In my view, that's unlikely to happen, as that issue has been reported for many years and never gotten any response from Stack Exchange indicating any intent to fix it, even as many duplicates of that issue have been posted over the years, some of which have been closed by Stack Exchange staff.

The only issue with the Stacks editor is that it incorrectly displays block Markdown formatting correctly, even though the server-side renderer doesn't support it. I do believe that there shouldn't be any discrepancy between the client-side preview and the server-side rendered post. Until such time as the server-side renderer supports block Markdown formatting, the Stacks editor shouldn't correctly display it since it won't be rendered on the server. Alternatively, it should use HTML formatting inside spoilers (since the server-side renderer does support HTML block formatting).

from stacks-editor.

mbomb007 avatar mbomb007 commented on August 16, 2024

Is it possible that spoilers could be made into a block element, like <spoiler></spoiler>?

from stacks-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.