diff --git a/README.md b/README.md index e0f13d1..9ab6fc6 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ More specifically... * Click on the title node, so that Workflowy focuses on it (rather than e.g. its parents) * Click the button on the toolbar to trigger your prototype download * Save the zip and extract it, and your prototype is ready to go -* You can apply custom styling by modifying the included "custom.css" +* You can apply custom styling by renaming "custom.template.css" to "custom.css" and modifying as required. ## Demo @@ -63,7 +63,7 @@ You will then be able to launch a single run of the tests from the command line npm test ``` ### Manual testing and debugging -Chrome extensions can be loaded in Google Chrome from the source code without having to be packaged: +Chrome extensions can be loaded in Google Chrome from the source code without having to be packaged: * Go to chrome://extensions/ * Enable Developer Mode * Click the 'Load unpacked extension...' button diff --git a/src/converter.js b/src/converter.js index 02e98b4..249a0a2 100644 --- a/src/converter.js +++ b/src/converter.js @@ -22,7 +22,7 @@ async.series([ function (callback) { addExistingFile(zip, chrome.extension.getURL('resources/stylesheets/style.css'), 'stylesheets/style.css', callback); - addExistingFile(zip, chrome.extension.getURL('resources/stylesheets/empty.css'), 'stylesheets/custom.css', callback); + addExistingFile(zip, chrome.extension.getURL('resources/stylesheets/empty.css'), 'stylesheets/custom.template.css', callback); } ].concat(imageFileNames.map(function(imageFileName) { return function (callback) { @@ -42,4 +42,4 @@ callback(null, true); }); } -} \ No newline at end of file +} diff --git a/test/htmlGenerator.test.js b/test/htmlGenerator.test.js index d15245f..4071064 100644 --- a/test/htmlGenerator.test.js +++ b/test/htmlGenerator.test.js @@ -41,7 +41,7 @@ describe('outline', function() { selected: false } ]]; - var expectedHtml = 'Footer - tag

Site Title

TopFooter - tag

Something - or other

TV � Quarterly Reach / Share / Av Time

'; + var expectedHtml = 'Footer - tag

Site Title

TopFooter - tag

Something - or other

TV � Quarterly Reach / Share / Av Time

'; describe('generate', function() { it('returns the correct HTML', function() { @@ -50,4 +50,4 @@ describe('outline', function() { expect(result).toEqual(expectedHtml); }); }); -}); \ No newline at end of file +});