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

Allow configuring master slide by header level #32

Merged
merged 7 commits into from
Oct 4, 2016

Conversation

k0kubun
Copy link
Owner

@k0kubun k0kubun commented Oct 4, 2016

Closes #12 (by configuring header-only master slide for specific level)

Abstract

  • Introduce .md2key to configure md2key
    • You can configure master slide of cover slide
    • You can configure master slide of other slides with specific header level
  • Add md2key init subcommand to generate a config template to current directory
    • Configuration file is searched from ./.md2key and ~/.md2key.

Example

Input

# Cover slide
Takashi Kokubun

# Level 1
one

## Level 2
two

### !!! Level 3 !!!

.md2key

For keynote template azusa-colors

masters:
  - name: "Cyan Title"
    cover: true
  - name: "Cyan Heading & Body"
    template: 1
  - name: "Cyan White Heading & Body"
    template: 2
  - name: "Cyan White Heading"
    template: 3

Output

2016-10-05 0 49 37

@k0kubun k0kubun merged commit 4ecd53f into master Oct 4, 2016
@k0kubun k0kubun deleted the master-slide-configurator branch October 4, 2016 15:52
@k0kubun k0kubun mentioned this pull request Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant