Edit page in Livemark
(2024-04-25 06:45)

Others

Cleanup

This feature provides an ability to specify a list of Bash command to be run after the document building:

livemark.yaml

cleanup:
  - rm table.csv

Counter

This feature currently supports a Google Analytics counter that can be added to all the project pages:

livemark.yaml

counter:
  type: google
  code: G-<code>

Github

Some plugins rely on Github repository information that is provided by this feature. By default, it will be inferred automatically from you local .git directory. It's also possible to configure it manually:

livemark.yaml

github:
  user: frictionlessdata
  repo: livemark

Prepare

This feature provides an ability to specify a list of Bash command to be run before the document building:

livemark.yaml

prepare:
  - cp data/table.csv table.csv

Redirect

Using Github Pages for hosting, it's possible to setup a redirect table:

livemark.yaml

redirect:
  items:
    - prev: getting-started
      next: pages/installation

Under the hood, Livemark will create a 404.html file and use a client-side redirect.