Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor metadata #203

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Editor metadata #203

wants to merge 7 commits into from

Commits on Apr 30, 2022

  1. Configuration menu
    Copy the full SHA
    0591dc6 View commit details
    Browse the repository at this point in the history
  2. Implement comment metadata support in editor

    This allows setting some properties of the toot directly while editing
    the message. It is backwards-compatible with the use of # for comment
    lines and forwards-compatible with the introduction of new metadata
    comments in the future. The supported ones are listed in the explanatory
    message appended to the text in the editor.
    Oblomov committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    310fef1 View commit details
    Browse the repository at this point in the history
  3. Support more metacomments and introduce some validation effort

    In case of errors, the composed toot is fed back into the editor,
    including a message about what went wrong.
    Oblomov committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    56ee754 View commit details
    Browse the repository at this point in the history
  4. Add sensitive to metacomments and proper roundtrip

    The command-line arguments are reset so that if the corresponding
    metacomment is removed the default value for the parameter is used
    again. This ensures that the output from the editor is consistent.
    Oblomov committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    9b050cf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aa36aa5 View commit details
    Browse the repository at this point in the history
  6. Remove comment support and switch to YAML-style header metadata

    As discussed on IRC, remove the filtering of lines starting
    with a hash-sign. This allows pasting snippets of code that with # as
    comment symbol, and allows hashtags to start on an empy line.
    
    Metadata support is moved to a YAML-style header similar to what Jekyll
    uses. We don't go full YAML though, just a simple key: value syntax
    (the same as before, but without the # in front).
    Oblomov committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    b61d6cc View commit details
    Browse the repository at this point in the history

Commits on May 1, 2022

  1. Configuration menu
    Copy the full SHA
    7a8ac7c View commit details
    Browse the repository at this point in the history