GithubHelp home page GithubHelp logo

tchigher / franklin.jl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tlienart/franklin.jl

0.0 0.0 0.0 2.76 MB

(yet another) static site generator. Simple, fast, maths with KaTeX, code evaluation, LaTeX-like commands, optional pre-rendering, in Julia.

Home Page: https://franklinjl.org

License: Other

Julia 99.59% Python 0.41%

franklin.jl's Introduction

Franklin: a Static Site Generator in Julia.

Lifecycle Build Status (Linux) Build Status (Windows) Coverage

Franklin is a simple static site generator (SSG) oriented towards technical blogging (code, maths, ...) and light, fast-loading pages. The base syntax is plain markdown with a few extensions such as the ability to define and use LaTeX-like commands in or outside of maths environments and the possibility to evaluate code blocks on the fly.

Franklin now has a channel #franklin on the Julia slack.

Docs

Go to Franklin's main website.

Some examples of websites using Franklin

Key features

  • Use standard markdown with the possibility to use LaTeX-style commands,
  • Simple way to introduce div blocks allowing easy styling on a page (e.g. "Theorem" boxes etc.),
  • Can execute and show the output of Julia code blocks,
  • Simple optimisation step to accelerate webpage loading speed:
    • compression of HTML and CSS of the generated pages,
    • optional pre-rendering of KaTeX and highlighted code blocks to remove javascript dependency,
  • Easy HTML templating to define or adapt a given layout.

See the docs for more information and examples.

Getting started

With Julia ≥ 1.1:

pkg> add Franklin

you can then get started with

julia> using Franklin

julia> newsite("MyNewSite")
✔ Website folder generated at "MyNewSite" (now the current directory).
 Use serve() from Franklin to see the website in your browser.

julia> serve()
 Initial full pass...
 Starting the server...
✔ LiveServer listening on http://localhost:8000/ ...
  (use CTRL+C to shut down)

Modify the files in MyNewSite/src and see the changes being live-rendered in your browser. Head to the docs for more information.

Associated repositories

Licenses

Core:

  • Franklin, FranklinTemplates and LiveServer are all MIT licensed.

External:

franklin.jl's People

Contributors

tlienart avatar csertegt3 avatar totalverb avatar juliatagbot avatar marcmush avatar trigaut avatar viralbshah avatar cormullion avatar github-actions[bot] 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.