diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/htmlgen.cpp | 10 | ||||
-rw-r--r-- | src/parserintf.h | 10 | ||||
-rw-r--r-- | src/util.cpp | 6 |
3 files changed, 18 insertions, 8 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index f9775fd..2dc62fa 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -114,20 +114,28 @@ static void writeServerSearchBox(FTextStream &t,const char *relPath,bool highlig } //------------------------------------------------------------------------ -/// Convert a set of LaTeX `\(re)newcommand` to a form readable by MathJax +/// Convert a set of LaTeX commands `\(re)newcommand` to a form readable by MathJax /// LaTeX syntax: +/// ``` /// \newcommand{\cmd}{replacement} /// or /// \renewcommand{\cmd}{replacement} +/// ``` /// MathJax syntax: +/// ``` /// cmd: "{replacement}" +/// ``` /// /// LaTeX syntax: +/// ``` /// \newcommand{\cmd}[nr]{replacement} /// or /// \renewcommand{\cmd}[nr]{replacement} +/// ``` /// MathJax syntax: +/// ``` /// cmd: ["{replacement}",nr] +/// ``` static QCString getConvertLatexMacro() { QCString macrofile = Config_getString(FORMULA_MACROFILE); diff --git a/src/parserintf.h b/src/parserintf.h index 5095a1e..6dc9569 100644 --- a/src/parserintf.h +++ b/src/parserintf.h @@ -178,10 +178,12 @@ class ParserManager } /** Registers an additional parser. - * @param[in] name A symbolic name of the parser, i.e. "c", - * "python", "fortran", "vhdl", ... - * @param[in] parser The parser that is to be used for the - * given name. + * @param[in] name A symbolic name of the parser, i.e. "c", + * "python", "fortran", "vhdl", ... + * @param[in] outlineParser The language parser (scanner) that is to be used for the + * given name. + * @param[in] codeParser The code parser that is to be used for the + * given name. */ void registerParser(const char *name,std::unique_ptr<OutlineParserInterface> outlineParser, std::unique_ptr<CodeParserInterface> codeParser) diff --git a/src/util.cpp b/src/util.cpp index 25ca13e..11f5c04 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -6445,9 +6445,9 @@ QCString substituteTemplateArgumentsInString( /*! Strips template specifiers from scope \a fullName, except those * that make up specialized classes. The switch \a parentOnly * determines whether or not a template "at the end" of a scope - * should be considered, e.g. with \a parentOnly is \c TRUE, A<T>::B<S> will - * try to strip \<T\> and not \<S\>, while \a parentOnly is \c FALSE will - * strip both unless A<T> or B<S> are specialized template classes. + * should be considered, e.g. with \a parentOnly is \c TRUE, \c A<T>::B<S> will + * try to strip `<T>` and not `<S>`, while \a parentOnly is \c FALSE will + * strip both unless `A<T>` or `B<S>` are specialized template classes. */ QCString stripTemplateSpecifiersFromScope(const QCString &fullName, bool parentOnly, |