From 8ee982fe6a143e323bb334e4955aa05854a55aa4 Mon Sep 17 00:00:00 2001 From: Josh Bruce Date: Wed, 4 Apr 2018 22:43:24 -0400 Subject: [PATCH 1/2] Try to get low-level bullet to fit on one line --- README.md | 2 +- docs/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 149ba29ccc..70e325bfdf 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Marked is 1. built for speed. -2. a low-level markdown compiler that allows frequent parsing of large chunks of markdown without caching or blocking for long periods of time. +2. a low-level markdown compiler for parsing markdown without caching or blocking for long periods of time. 3. light-weight while implementing all markdown features from the supported flavors & specifications. 4. available as a command line interface (CLI) and running in client- or server-side JavaScript projects. diff --git a/docs/README.md b/docs/README.md index f5b154276b..1fea8277a1 100644 --- a/docs/README.md +++ b/docs/README.md @@ -15,7 +15,7 @@ Marked is 1. built for speed.* -2. a low-level markdown compiler that allows frequent parsing of large chunks of markdown without caching or blocking for long periods of time.** +2. a low-level markdown compiler for parsing markdown without caching or blocking for long periods of time.** 3. light-weight while implementing all markdown features from the supported flavors & specifications.*** 4. available as a command line interface (CLI) and running in client- or server-side JavaScript projects. From 82577a672eb6a57cfa654d810c325a6a94ac3037 Mon Sep 17 00:00:00 2001 From: Josh Bruce Date: Wed, 4 Apr 2018 22:50:11 -0400 Subject: [PATCH 2/2] Ran lint fixes --- test/unit/marked-spec.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/unit/marked-spec.js b/test/unit/marked-spec.js index 324dad127b..0bb5b39f6d 100644 --- a/test/unit/marked-spec.js +++ b/test/unit/marked-spec.js @@ -7,15 +7,15 @@ it('should run the test', function () { }); describe('Test heading ID functionality', function() { - it('should add id attribute by default', function() { - var renderer = new marked.Renderer(marked.defaults); - var header = renderer.heading('test', 1, 'test'); - expect(header).toBe('

test

\n'); - }); + it('should add id attribute by default', function() { + var renderer = new marked.Renderer(marked.defaults); + var header = renderer.heading('test', 1, 'test'); + expect(header).toBe('

test

\n'); + }); - it('should NOT add id attribute when options set false', function() { - var renderer = new marked.Renderer({ headerIds: false }); - var header = renderer.heading('test', 1, 'test'); - expect(header).toBe('

test

\n'); - }); + it('should NOT add id attribute when options set false', function() { + var renderer = new marked.Renderer({ headerIds: false }); + var header = renderer.heading('test', 1, 'test'); + expect(header).toBe('

test

\n'); + }); });