[PATCH] D142199: [Docs] Replace recommonmark with myst-parser

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 04:59:04 PST 2023


luke added inline comments.


================
Comment at: flang/docs/ComplexOperations.md:37
 **FIR**
-```c
 func.func @_QPpow_self(%arg0: !fir.ref<!fir.complex<4>>) -> !fir.complex<4> {
----------------
luke wrote:
> tstellar wrote:
> > Do these changes have any affected on the output html?  Is there another way to specify the language?
> I’m not sure, I think I might be able to add this back in though since I suppressed a warning about highlight errors.
> I had to remove the ones that specified MLIR as the lexer though since there didn’t seem to be an option to suppress those warnings. They didn’t seem to receive any syntax highlighting in the output html anyway
Looks like these weren't being highlighted anyway: https://flang.llvm.org/docs/ComplexOperations.html?highlight=complex#fir-representation

Ideally there would eventually be an MLIR lexer added to pygments. Until then is it better to remove the incorrect lexers?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142199/new/

https://reviews.llvm.org/D142199



More information about the llvm-commits mailing list