GithubHelp home page GithubHelp logo

gyunt / worldmodels.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from worldmodels/worldmodels.github.io

0.0 1.0 0.0 35.64 MB

World Models

License: Creative Commons Attribution 4.0 International

HTML 99.93% Shell 0.07%

worldmodels.github.io's Introduction

World Models Article

This repo contains the source for the interactive article "World Models".

World Models World Models Article

Article

draft.md - main text of the article, in markdown.

draft_appendix.md - appendix, in markdown.

draft_bib.html - the citations.

draft_header.html - start of the document

index.html - generated, don't edit this file.

Requirements

npm markdown-it

npm markdown-it-katex

npm markdown-it-center-text

Instructions to Build and Test

Make it such that when you run the command markdown-it, both katex and center-text plugings are enabled. I did this by adding 4 lines to markdown-it.js

  // existing code in markdown-it.js:
  md = require('..')({
    html: !options['no-html'],
    xhtmlOut: false,
    typographer: options.typographer,
    linkify: options.linkify
  });

  // additional 4 lines:
  var mk = require('markdown-it-katex');
  var md_center = require('markdown-it-center-text');
  md.use(mk);
  md.use(md_center);

Modify text by editing draft.md -- this is where all of the content exists.

Appendix content goes in draft_appendix.md. Add bib entries to draft_bib.html.

Run bash make.bash to build document into index.html (which are identical).

Run python -m http.server to serve on the base directory to view draft.html in a local browser for debugging.

worldmodels.github.io's People

Contributors

hardmaru avatar worldmodels avatar

Watchers

JongGyun Kim avatar

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.