[sphinx-users] Javascript not working. (Note: I wrote this lke a markdown)

2022-10-18 Thread 19MSS041_Selvaganapathy
I tried to make a terminal like codeblock inside my documentation using 
sphinx with css and a javascript file like https://github.com/ines/termynal

I added `termynal.js` and `termynal.css` files `_static/js` and 
`_static/css` resppectively, and included its path to sphinx by editing 
`conf.py` file:

> html_css_files = [ 'css/termynal.css' ]
> html_js_files = [ 'js/termynal.js' ]

`CSS` is working fine and resulted in : 
[image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F6d31aaf9-ab70-441a-8b7b-63e1fb7a%2FScreenshot_from_2022-10-18_16-40-42.png?id=469fb56a-7e3a-44fb-be20-110d6850f2c0&table=block&spaceId=ac4f27a7-e5df-49bd-8554-b59e645abd04&width=1920&userId=87f818cb-7666-4f0a-bc04-b171e86ba502&cache=v2)
but I can find Javascript is not working.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/b23f5f6b-cc43-4f57-98a2-7d43164ea59an%40googlegroups.com.


Re: [sphinx-users] Fixed Width Paragraph with italic, bold, and normal font

2022-10-18 Thread bradley...@gmail.com
Thanks, the following input

.. parsed-literal:: 

**variable_**on**e** = constant_one( **variable_two** ) 
**variable_three** = constant_two( **variable_four** ) 

generates the output I was looking for
On Monday, September 5, 2022 at 11:17:53 AM UTC-7 matthia...@gmail.com 
wrote:

> On Sun, Sep 4, 2022 at 3:27 PM bradley...@gmail.com
>  wrote:
> >
> > How in sphinx does one create a paragraph that uses a fixed width for 
> all characters and allows one to switch between normal, italic, and bold 
> fonts.
>
> You should try the parsed-literal directive:
>
> https://docutils.sourceforge.io/docs/ref/rst/directives.html#parsed-literal
>
> But be warned about this issue:
>
> https://github.com/sphinx-doc/sphinx/issues/2167
>
> cheers,
> Matthias
>
> > This quesiton is similar to the following question on stackoverflow .
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "sphinx-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sphinx-users...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sphinx-users/a7a88ff0-6bcc-4f5c-87c3-8b7696aee44an%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/b0f820e9-62aa-4249-9ef0-6c88d4aa6ff4n%40googlegroups.com.