# Incorrect document display and non-display of examples of functions when using JuMP

**URL:** <https://discourse.julialang.org/t/incorrect-document-display-and-non-display-of-examples-of-functions-when-using-jump/122575>\
**Category:** VS Code\
**Tags:** question\
**Created:** [November 13, 2024, 9:15am UTC](https://discourse.julialang.org/t/incorrect-document-display-and-non-display-of-examples-of-functions-when-using-jump/122575 "2024-11-13T09:15:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinqiao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kevinqiao/32/44492_2.png) [@kevinqiao](https://discourse.julialang.org/u/kevinqiao)\
**Post date:** [November 13, 2024, 9:15am UTC](https://discourse.julialang.org/t/incorrect-document-display-and-non-display-of-examples-of-functions-when-using-jump/122575/1 "2024-11-13T09:15:39Z")

</div>

I’m using the latest JuMP(v1.23.4) on Win11, the documents of JuMP functions are displayed in an incorrect manner, which is exactly not the same with the document display on my another PC with JuMP(v.18.1, Win10 platform), it displays like this

 ![incorrect display of JuMP-1](https://global.discourse-cdn.com/julialang/original/3X/3/f/3f3062ca8d0cfda83d14a5be044023ed0d669283.jpeg)

and this

 ![incorrect display of JuMP-2](https://global.discourse-cdn.com/julialang/original/3X/c/2/c28cc73f2fc78a411db54183a72465ad2eaf8032.jpeg)

while the documents of non-JuMP functions display correct, just like this

 ![correct display of julia lang](https://global.discourse-cdn.com/julialang/original/3X/b/9/b927634d39046d08749d5d2e8c0861592b555e7a.jpeg)

I don’t know how to fix this problem, so is there anyone could help me with this?

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [November 13, 2024, 8:40pm UTC](https://discourse.julialang.org/t/incorrect-document-display-and-non-display-of-examples-of-functions-when-using-jump/122575/2 "2024-11-13T20:40:34Z")

</div>

This doesn’t appear to be an issue with JuMP. In the REPL, looking up the help returns:

```julia
help?> Model
search: Model model ModelMode model_string model_convert

  Model([optimizer_factory;] add_bridges::Bool = true)

  Create a new instance of a JuMP model.

  If optimizer_factory is provided, the model is initialized with thhe
  optimizer returned by MOI.instantiate(optimizer_factory).

  If optimizer_factory is not provided, use set_optimizer to set the
  optimizer before calling optimize!.

  If add_bridges, JuMP adds a MOI.Bridges.LazyBridgeOptimizer to
  automatically reformulate the problem into a form supported by the
  optimizer.

  Example
  =======

  julia> import Ipopt
  
  julia> model = Model(Ipopt.Optimizer);
  
  julia> solver_name(model)
  "Ipopt"
  
  julia> import HiGHS
  
  julia> import MultiObjectiveAlgorithms as MOA
  
  julia> model = Model(() -> MOA.Optimizer(HiGHS.Optimizer); add_bridges = false);

```

I don’t know how you’re getting the in-line help, but it looks like a bug in that extension.

Edit: I’ve moved this to the vs-code section of the forum.
