Skip to content

Commit

Permalink
Close #2656; Markdown Headers do not work
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigok committed Apr 6, 2016
1 parent fd290e3 commit bda94d2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/rocketchat-markdown/settings.coffee
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Meteor.startup ->
RocketChat.settings.add 'Markdown_Headers', false, {type: 'boolean', group: 'Message', section: 'Markdown', i18nLabel: 'Markdown_Headers'}
RocketChat.settings.add 'Markdown_Headers', false, {type: 'boolean', group: 'Message', section: 'Markdown', public: true}
22 changes: 21 additions & 1 deletion packages/rocketchat-theme/assets/stylesheets/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -2872,6 +2872,26 @@ a.github-fork {
opacity: 0;
}
}

> h1 {
font-size: 3em;
line-height: 1em;
}

> h2 {
font-size: 2.5em;
line-height: 1em;
}

> h3 {
font-size: 2em;
line-height: 1em;
}

> h4 {
font-size: 1.5em;
line-height: 1em;
}
}
&.temp .body {
opacity: .5;
Expand Down Expand Up @@ -4778,4 +4798,4 @@ br.only-after-a {

a + br.only-after-a {
display: block;
}
}

0 comments on commit bda94d2

Please sign in to comment.