looeee / discoverthreejs-site

Repo for the book Discover three.js!
https://discoverthreejs.com/
747 stars 98 forks source link

Fix highlights in world-app.md #51

Closed TanX-009 closed 2 years ago

TanX-009 commented 2 years ago

Fix the highlighting in the code block after 'Module Scoped Variables' in world-app. before fix,

...
class World {
  constructor(container) {        <--Highlighted Line
    camera = createCamera();      <--Highlighted Line
    scene = createScene();        <--Highlighted Line
    renderer = createRenderer();
  }
...

after fix,

...
class World {
  constructor(container) {
    camera = createCamera();      <--Highlighted Line
    scene = createScene();        <--Highlighted Line
    renderer = createRenderer();  <--Highlighted Line
  }
...
looeee commented 2 years ago

Thank you! :)