Skip to content

Allow chapters to have an optional TOML header #277

Open
@azerupi

Description

@azerupi

The conclusion of the discussion #176 is to support an optional TOML header in the markdown sources to provide chapter specific information. Chapter specific information that overrides the global configuration for this specific chapter.

A chapter source file could look like the following:

------
author = "John Doe"
title = "A book of little words"
translator = "Jane Doe"
------

# Chapter title

The rest of the file is **normal** markdown

This will probably require some changes to the internal representation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions