Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Inline TOC token support for RDiscount #333
Since RDiscount's toc generation requires the call to a separate method on the RDiscount object, I've implemented inline token replacement. You can define the token in the config file.
If you have @config['rdiscount']['toc_token'] = "[TOC]", then [TOC] in the document will be replaced with the generated table of contents. If the toc generation extension is not enabled, it will be replaced with a linebreak, which should be safe.
Apparenetly, bundler can't find posix-spawn, which is required by the bundle. I guess I could manually install the other dependencies to run the tests, but I'd rather keep my gem space clean.
Any idea what's wrong with posix-spawn?