#!/usr/bin/env ruby
# Quick script for viewing getting at kramdown's view of a markdown file
require 'kramdown'
require 'pry'

doc = Kramdown::Document.new(File.read(ARGV[0]))
children = doc.root.children

binding.pry

#!/usr/bin/env ruby
# Quick script for viewing getting at kramdown's view of a markdown file
require 'mdl/doc'
require 'pry'


doc = MarkdownLint::Doc.new_from_file(ARGV[0])
children = doc.parsed.root.children

binding.pry

Change the quick test script to use a doc object
Change the quick test script to use a doc object

This allows using markdownlint's doc object methods as used in rules when
troubleshooting a document.
