Code Monkey home page Code Monkey logo

djot-playground's People

Contributors

dtinth avatar jgm avatar waldyrious avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

djot-playground's Issues

Add build instructions

Are the instructions from this comment still accurate? If so, they could be added to a "Build instructions" section in the README, or to a CONTRIBUTING.md file, to make them more discoverable and allow others to play with this project.

Bug: empty code block breaks the playground

I tried entering a code block by typing the delimiters first:

```
```

and then adding the content within:

```
test
```

...but this broke the playground, which became unresponsive. The console error is this:

Click to expand
Uncaught (in promise) Error: ./djot/html.lua:63: bad argument #1 to 'find' (string expected, got nil)
    assertOk            https://djot.net/playground/assets/index.3c860766.js:1
    b                   https://djot.net/playground/assets/index.3c860766.js:1
    p                   https://djot.net/playground/assets/index.3c860766.js:43
    p                   https://djot.net/playground/assets/index.3c860766.js:43
    er                  https://djot.net/playground/assets/index.3c860766.js:1
    p                   https://djot.net/playground/assets/index.3c860766.js:45
    Qn                  https://djot.net/playground/assets/index.3c860766.js:1
    Vt                  https://djot.net/playground/assets/index.3c860766.js:1
    promise callback*Kn https://djot.net/playground/assets/index.3c860766.js:1
    nr                  https://djot.net/playground/assets/index.3c860766.js:1
    ctx                 https://djot.net/playground/assets/index.3c860766.js:1
    B                   https://djot.net/playground/assets/index.3c860766.js:60
    dt                  https://djot.net/playground/assets/index.3c860766.js:1
    m                   https://djot.net/playground/assets/index.3c860766.js:45
    bn                  https://djot.net/playground/assets/index.3c860766.js:1
    vn                  https://djot.net/playground/assets/index.3c860766.js:1
    Er                  https://djot.net/playground/assets/index.3c860766.js:60
    <anonymous>         https://djot.net/playground/assets/index.3c860766.js:60

index.3c860766.js:1:12901

Note: this doesn't happen if I type the code block line by line (opening delimiters, content, closing delimiters)

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.