0

I want to be able to put a formatted mathematic equation into my XML comments, is there a plugin to allow me to do this or maybe some other way?

I am currently using this:

/// <summary>
/// e^-x/(1+e^-x)^2
/// </summary>
public double Sigmoid(x) => 1 / (1 + Math.Exp(-x));

But this doesn't seem like a very good solution.

I appreciate any answers.

  • [MathML](https://www.w3.org/Math/whatIsMathML.html) might work, but you would need to post-process the documentation output somehow. – Paul Abbott Dec 07 '18 at 22:50

1 Answers1

2

I don't think there's a native solution, but you can use an extension like VsTeXCommentsExtension or TeXcomments.

Diogo Rocha
  • 9,759
  • 4
  • 48
  • 52