From 8c925bca71e8333e621daa25df574d9ed633edf2 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Thu, 30 Mar 2017 22:06:33 +0100 Subject: [PATCH] build(aio): update rho to new version This version changes the expected syntax for emphasis. The original Rho renderer uses `*` for strong an `_` for em. But it is more standard in markdown to use `**` or `__` for bold and `*` or `_` for em. --- aio/transforms/rho-package/services/renderMarkdown.spec.js | 2 +- aio/yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/transforms/rho-package/services/renderMarkdown.spec.js b/aio/transforms/rho-package/services/renderMarkdown.spec.js index e93b97882e..4e306ffbe9 100644 --- a/aio/transforms/rho-package/services/renderMarkdown.spec.js +++ b/aio/transforms/rho-package/services/renderMarkdown.spec.js @@ -9,7 +9,7 @@ describe('rho: renderMarkdown service', () => { it('should convert markdown to HTML', () => { const content = '# heading 1\n' + '\n' + - 'A paragraph with *bold* and _italic_.\n' + + 'A paragraph with **bold** and _italic_.\n' + '\n' + '* List item 1\n' + '* List item 2'; diff --git a/aio/yarn.lock b/aio/yarn.lock index 04cfa33f66..abb7e87f64 100644 --- a/aio/yarn.lock +++ b/aio/yarn.lock @@ -4935,7 +4935,7 @@ restore-cursor@^2.0.0: "rho@https://github.com/petebacondarwin/rho#master": version "0.4.0" - resolved "https://github.com/petebacondarwin/rho#0ad228a47ceb598648504ca8f57eba14aa0fc5e1" + resolved "https://github.com/petebacondarwin/rho#c7dbd35fce17111de5131b8035b70e4f8c966362" dependencies: html "*" nomnom "*"