From 3422999e5a4fc6b08637d00cae11f523c747f036 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 26 Apr 2022 07:48:22 +0300 Subject: refactor: use "diagram" instead of "graph" Change everywhere to use the word "diagram" instead of "graph. Diagram seems like the better word. It's mostly used in comments and documentation, but there was one filename and one trait name that needed changing. I used "rg -iw graph" and "find -iname '*graph*'" to find everywhere that needed changing. Sponsored-by: author --- src/visitor/typesetting.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/visitor/typesetting.rs') diff --git a/src/visitor/typesetting.rs b/src/visitor/typesetting.rs index 6f82c24..8d73f3e 100644 --- a/src/visitor/typesetting.rs +++ b/src/visitor/typesetting.rs @@ -30,8 +30,8 @@ impl<'a> TypesettingVisitor<'a> { // Visit interesting parts of the Pandoc abstract syntax tree. The // document top level is a vector of blocks and we visit that and // replace any fenced code block with the scenario tag with a typeset -// paragraph. Also, replace fenced code blocks with known graph markup -// with the rendered SVG image. +// paragraph. Also, replace fenced code blocks with known diagram +// markup with the rendered SVG image. impl<'a> MutVisitor for TypesettingVisitor<'a> { fn visit_vec_block(&mut self, vec_block: &mut Vec) { use panhelper::is_class; -- cgit v1.2.1