question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Render YAML front matter like GitHub does

See original GitHub issue

This file…

---
title: "Cancer Mortality Exploration"
author: "w203 Teaching Team"
output: pdf_document
---

## Background

In this lab, imagine that your team is hired by a health government agency. They would like to understand factors that predict cancer mortality rates, with the ultimate aim of identifying communities for social interventions, and of understanding which interventions are likely to have the most impact.  Your team was hired to perform an exploratory analysis to help the agency address their goals.

…looks like this on GitHub screen shot 2017-09-13 at 10 57 30 pm

… and this on Grip screen shot 2017-09-13 at 10 57 39 pm

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:4
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
olleolleollecommented, Sep 25, 2017

Such metadata at the top of documents is called “front matter”, and in this case, it is “YAML front matter”.

Examples of its usage in different parts of the Web:

Perhaps this feature request can be called “Render front matter like GitHub does”?

1reaction
rogchapcommented, Jan 7, 2020

Any movement on this? Was looking for support for this too. It’s a shame that @kagof’s PR was not moved forward (even if it requires iteration)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get YAML front matter? #343 - xoofx/markdig - GitHub
Given a markdown file, how do we get access to the YAML front matter? ... For example I have: var pipeline = new...
Read more >
remark plugin to support frontmatter (YAML, TOML, and more)
This package is a unified (remark) plugin to add support for YAML, TOML, and other frontmatter. You can use this to add support...
Read more >
YAML frontmatter rendered improperly · Issue #5377 · go-gitea ...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity...
Read more >
YAML frontmatter for R Markdown to cause rmarkdown
YAML frontmatter for R Markdown to cause rmarkdown::render() to retain intermediate Markdown file for .R and .Rmd files, respectively.
Read more >
Add ability to ignore YAML front matter · Issue #994 - GitHub
Since github officially supports jekyll as its static site generator for github pages, there should be a way to ensure front matter can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found