Coder Social home page Coder Social logo

Comments (4)

ialbert avatar ialbert commented on June 25, 2024

Right now the preview updates only once one presses enter and moves to a new paragraph or presses the checkmark button. What we can easily do is add a time based updating event.

The reason for this is that in the current model we need to send to content to the server to detect the programming language that code snippets were written in. On the upside the syntax highlights will be code specific rather than generic (SE is generic). Another benefit is that we have more ways to interact with the generated html code, for example we can embed gists, we can detect links to other embeddable content and it may allow us to do other interesting things in the future.

This is the main reason of why this model was chosen. We can switch to the SE model as well, not particularly difficult to do so. We'll keep this issue open and keep an eye on the overall usability and user reports.

from biostar-central.

mkuhn avatar mkuhn commented on June 25, 2024

Another idea: could you make a mandatory confirmation of the review required for users below a certain reputation? On the SE1 BioStar, we often have people posting code/tables with bad formatting.

from biostar-central.

ialbert avatar ialbert commented on June 25, 2024

yes, I've also considered adding this functionality - what I am thinking right now is to have the 'moderation required' flag added to each post created by a new user - but I also want this to be a feature that the site owners can turn off - for example if a new, low traffic site is built on BioStar then the mandatory review would not be desired.

from biostar-central.

ialbert avatar ialbert commented on June 25, 2024

fixed in the latest release

from biostar-central.

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.