Skip to content
This repository was archived by the owner on May 10, 2022. It is now read-only.

Conversation

maelle
Copy link
Contributor

@maelle maelle commented Sep 17, 2018

without messing with the encoding this time?

cf #30 and #278

without messing with the encoding this time?
@maelle
Copy link
Contributor Author

maelle commented Sep 17, 2018

@sckott if we merge this we'll lose your formatting of links. Is that bad?

@maelle
Copy link
Contributor Author

maelle commented Sep 17, 2018

Example of a bad change https://github.com/ropensci/roweb2/pull/279/files#diff-8828c4570d80dd504322aabbe30964f0L267 (this is a variable name that should have been escaped with backquotes)

@maelle maelle requested review from jeroen and sckott and removed request for sckott September 17, 2018 14:07
@maelle
Copy link
Contributor Author

maelle commented Sep 17, 2018

As a reminder from my previous bad PR, changes that happen on top of header homogeneization are homogeneization of the Markdown syntax,

@maelle
Copy link
Contributor Author

maelle commented Sep 17, 2018

And to show the actual good stuff, see https://deploy-preview-279--ropensci.netlify.com/blog/2018/09/04/birds-taxo-traits/ vs https://ropensci.org/blog/2018/09/04/birds-taxo-traits/ , the new post uses h2 and h3 instead of h3 and h4.

@maelle maelle requested a review from sckott September 17, 2018 14:14
@maelle
Copy link
Contributor Author

maelle commented Sep 17, 2018

Post using h1 at the moment https://ropensci.org/blog/2013/05/16/pyopensci/

In my branch it's https://deploy-preview-279--ropensci.netlify.com/blog/2013/05/16/pyopensci/

@jeroen I still find h2 a bit big, but this could be changed in the style files, at least with my changes we'd have h2/h3/h4 everywere.

@sckott
Copy link
Contributor

sckott commented Sep 17, 2018

if we merge this we'll lose your formatting of links.

can you show me an example. not sure what you mean

@maelle
Copy link
Contributor Author

maelle commented Sep 17, 2018

Sorry it's the 4th item in #279 (comment) (with links to examples)

@sckott
Copy link
Contributor

sckott commented Sep 17, 2018

I think we have to support markdown links with [][] as it's a standard markdown thing. or maybe others disagree?

@maelle
Copy link
Contributor Author

maelle commented Sep 17, 2018

What do you mean by supporting?

They get lost by this conversion but in the future we will hopefully not need to re homogeneize all header levels.

@sckott
Copy link
Contributor

sckott commented Sep 17, 2018

Does this PR make any changes to how posts are rendered moving forward, or just changes to posts in the past?

@maelle
Copy link
Contributor Author

maelle commented Sep 17, 2018

Just posts in the past. The unwanted changes in Markdown files in this PR (i.e changes other than header levels) are losses but should not change the resulting html.

I guess it's not impossible that we do such a batch edit again one day, but maybe it won't happen.

@sckott
Copy link
Contributor

sckott commented Sep 17, 2018

Okay, no worries then, just wanted to check if this was a change to how posts are rendered with hugo moving forward

@maelle
Copy link
Contributor Author

maelle commented Sep 19, 2018

will make a new PR once ropensci/tinkr#4 is solved :-)

@maelle maelle closed this Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants