Skip to content

Instantly share code, notes, and snippets.

@massiung
massiung / table_of_contents.md
Last active August 28, 2018 13:15
Creating a table of contents in markdown files, rmarkdown and jupyter notebooks

Installing markdown-toc globally

npm install -g markdown-toc

Markdown files/ presentations

Insert the following snippet into your markdown file:

<!-- toc -->
This is where the table will be!
@jsamoocha
jsamoocha / house_price_scraping.R
Last active January 27, 2016 09:19
Scraping a real estate site and showing relations between the house price and some features.
library(rvest)
library(stringr)
library(dplyr)
library(ggplot2)
library(GGally)
library(testthat)
#### Some utility functions ####
has_more_pages <- function(funda_search_html) {