Giter Club home page Giter Club logo

Comments (6)

cpitclaudel avatar cpitclaudel commented on September 27, 2024

Do you know what changed (a sphinx update maybe?)

from fstar-mode.el.

msprotz avatar msprotz commented on September 27, 2024

no we pinned sphinx to the previous version -- I'm observing this with my local machine:

jonathan@absinthe:~/Code/mitls-fstar (no_hsl) $ sphinx-build --version
sphinx-build 2.4.3

and also on the CI build

jonathan@absinthe:~/Code/everest-ci (master) $ git grep sphinx
server-infra/linux/.docker/Dockerfile:#Install sphinx (for the Low* tutorial)
server-infra/linux/.docker/Dockerfile:RUN pip3 install sphinx==1.7.2 sphinx_rtd_theme

from fstar-mode.el.

cpitclaudel avatar cpitclaudel commented on September 27, 2024

Maybe sphinx_rtd_theme, then? Can you try pinning it to a previous release and seeing if that still happens?

from fstar-mode.el.

msprotz avatar msprotz commented on September 27, 2024

indeed, it looks like sphinx_rtd_theme now slaps white-space: nowrap on <code> HTML tags

any way you could skip the <code> tag? right now the structure is

<pre>
<code>stuff
over
multiple
lines but with white-space nowrap
</code>
</pre>

the <pre>, per sphinx-rtd-theme, has the right CSS styling so just getting rid of the extra <code> would likely be enough

from fstar-mode.el.

msprotz avatar msprotz commented on September 27, 2024

actually, is there any way that fslit could generate the equivalent of


.. code-block:: fstar
  <contents of the F* code here>

? I'm enjoying syntax higlighting via pygments for code-blocks I manually wrote, but the fslit-generated code blocks don't seem to be enjoying this formatting

from fstar-mode.el.

cpitclaudel avatar cpitclaudel commented on September 27, 2024

Sorry, I missed your messages. I'd use a custom stylesheet to work around this problem; let me know if you need help writing it.

actually, is there any way that fslit could generate the equivalent of …

Yes, definitely; the reason they are not currently highlighted is that they're intended to be highlighted in js, along with running fstar.js.

from fstar-mode.el.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.