Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Heading top #143

Closed
roydekleijn opened this issue Jan 14, 2017 · 4 comments
Closed

Heading top #143

roydekleijn opened this issue Jan 14, 2017 · 4 comments

Comments

@roydekleijn
Copy link

Hi,

How to position the heading/title on the top of every page ??

Also, is there a way to set the color of # or ## lines?

Thanks,
Roy

@Naereen
Copy link

Naereen commented Feb 17, 2017

Hi,
No, not that I know of, Marp does support this yet.

@yhatt would it be hard to do? (if you show me the file to edit, I will try to figure it out)

@fabriciofx
Copy link

@yhatt Any news about this feature?

@cdqwertz
Copy link

To set the position of the heading to the top of the page you need to change the default theme.

Note: You need to run Marp from source or rebuild Marp for this to work.

  1. Go to this file: /path/to/the/marp/source/code/sass/themes/default.sass (https://github.com/yhatt/marp/blob/master/sass/themes/default.sass)
  2. Remove line 10
  3. Add the following code one line after the line you just deleted:
  .slide_inner
    margin-top: 100px

@yhatt
Copy link
Owner

yhatt commented Jun 4, 2019

Yep, and Marp Next (#267) can be easy to create theme and tweak style.

See also: marp-team/marpit#153 (comment)

@yhatt yhatt closed this as completed Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants