Code Monkey home page Code Monkey logo

Comments (10)

sargis2000 avatar sargis2000 commented on June 2, 2024 1

There is another issue connected with your offered solution, I.m Really sorry I can't provide it right now, I will leave a comment on Monday.
Thank you

from sphinx.

jayaddison avatar jayaddison commented on June 2, 2024 1

Without a blank line separating them lines are joined into a single line.

This isn't strictly true according to the Markdown spec regarding linebreaks:

To create a line break or new line (<br>), end a line with two or more spaces, and then type return.

The sample markdown snippet provided does include multi-spaces at the end of some of the lines, so it appears valid. What's TBD here is where (in terms of codebase) those newlines are being omitted, and what can be done about it.

from sphinx.

electric-coder avatar electric-coder commented on June 2, 2024 1

@jayaddison good catch! Also in the spec:

in nearly every Markdown application (, but it’s controversial)

Since this choice depends on the flavor I generally disregard it. Maybe Sphinx hasn't defined its Markdown flavor because it's originally a reST processor.

from sphinx.

electric-coder avatar electric-coder commented on June 2, 2024

You're not giving any reStructuredText or Markdown example file than can be tested. It would also help if you included a screenshot of the problem you're having. I'd never heard of the m2r but from you description I'm guessing there's something wrong in the transformation step from md to rst.

Also the sphinxcontrib-confluencebuilder has their own active issues page, I think you're likely to get a quicker response if you post there and they help figuring out what's wrong.

from sphinx.

sargis2000 avatar sargis2000 commented on June 2, 2024

MarkDown envvars.md
What we expect What we expect

Result in Confluence Result in Confluence

from sphinx.

sargis2000 avatar sargis2000 commented on June 2, 2024

You're not giving any reStructuredText or Markdown example file than can be tested. It would also help if you included a screenshot of the problem you're having. I'd never heard of the m2r but from you description I'm guessing there's something wrong in the transformation step from md to rst.

Also the sphinxcontrib-confluencebuilder has their own active issues page, I think you're likely to get a quicker response if you post there and they help figuring out what's wrong.

I will also write them

from sphinx.

electric-coder avatar electric-coder commented on June 2, 2024

I think your .md is wrong because a paragraph needs to be separated by a blank line, see:

Paragraphs

To create paragraphs, use a blank line to separate one or more lines of text.

Without a blank line separating them lines are joined into a single line. Also get rid of the <br> with Markdown you're supposed to use a blank line instead of it.

from sphinx.

picnixz avatar picnixz commented on June 2, 2024

AFAIK, we expect valid RST content and not just markdown content. Since the issue stems from a 3rd party extension, I am closing this one (this repo is only meant for core issues and not non-native extensions). I think the issue should be reported to myst_parser or m2r instead.

from sphinx.

chrisjsewell avatar chrisjsewell commented on June 2, 2024

@sargis2000 myst-parser follows commonmark, it is recommended to use \ hard line breaks.
You can see this working in https://myst-parser.readthedocs.io/en/latest/live-preview.html πŸ˜„

from sphinx.

sargis2000 avatar sargis2000 commented on June 2, 2024

@sargis2000 myst-parser follows commonmark, it is recommended to use \ hard line breaks. You can see this working in https://myst-parser.readthedocs.io/en/latest/live-preview.html πŸ˜„

Hi @chrisjsewell , it doesnt work for Attlasian Confluence.

from sphinx.

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.