diff --git a/changelog.md b/changelog.md
index 4ea135f88..20e2eca92 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,14 @@
# changelog
+### Sunday, 05/06/2016 - v2.2.1
+- Adding in a new Class table div block. The old Class table block used weird stacking of HTML elements, resulting is difficult to control behaviour and poor interactiosn with the rest of the page. This new block is much easier to style and work with.
+- Added in a new auto-incremeting page number snippet
+
+
+### Saturday, 04/06/2016 - v2.2.0
+- MIgrating The Homebrewery over to hombrewery.naturalcrit.com. It know runs on it's own server, with it's own repo separate from the other tools I'm working on. Makes updating and deploying much easier.
+
+
### Sunday, 29/05/2016 - v2.1.0
- Finally added a syntax for doing spell lists. A bit in-depth about why this took so long. Essentially I'm running out of syntax to use in stardard Markdown. There are too many unique elements in the PHB-style to be mapped. I solved this earlier by stacking certain elements together (eg. an `
` before a `blockquote` turns it into moster state block), but those are getting unweildly. I would like to simply wrap these in `div`s with classes, but unfortunately Markdown stops processing when within HTML blocks. To get around this I wrote my own override to the Markdown parser and lexer to process Markdown within a simple div class wrapper. This should open the door for more unique syntaxes in the future. Big step!
- Override Ctrl+P (and cmd+P) to launch to the print page. Many people try to just print either the editing or share page to get a PDF. While this dones;t make much sense, I do get a ton of issues about it. So now if you try to do this, it'll just bring you imediately to the print page. Everybody wins!
diff --git a/client/homebrew/editor/snippets/classtable.gen.js b/client/homebrew/editor/snippets/classtable.gen.js
index b1d6021f5..0ccd51a23 100644
--- a/client/homebrew/editor/snippets/classtable.gen.js
+++ b/client/homebrew/editor/snippets/classtable.gen.js
@@ -70,8 +70,7 @@ module.exports = {
var cantrips = 3;
var spells = 1;
var slots = 2;
- return "##### The " + classname + "\n" +
- "___\n" +
+ return "\n##### The " + classname + "\n" +
"| Level | Proficiency Bonus | Features | Cantrips Known | Spells Known | 1st | 2nd | 3rd | 4th | 5th | 6th | 7th | 8th | 9th |\n"+
"|:---:|:---:|:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|\n" +
_.map(levels, function(levelName, level){
@@ -89,15 +88,14 @@ module.exports = {
slots += _.random(0,2);
return "| " + res + " |";
- }).join('\n') +'\n\n';
+ }).join('\n') +'\n
\n\n';
},
half : function(classname){
classname = classname || _.sample(classnames)
var featureScore = 1
- return "##### The " + classname + "\n" +
- "___\n" + "___\n" +
+ return "\n##### The " + classname + "\n" +
"| Level | Proficiency Bonus | Features | " + _.sample(features) + "|\n" +
"|:---:|:---:|:---|:---:|\n" +
_.map(levels, function(levelName, level){
@@ -111,6 +109,6 @@ module.exports = {
featureScore += _.random(0,1);
return "| " + res + " |";
- }).join('\n') +'\n\n';
+ }).join('\n') +'\n
\n\n';
}
};
\ No newline at end of file