Code Monkey home page Code Monkey logo

confluence-mathjax's People

Contributors

dawbarton avatar rkadam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

confluence-mathjax's Issues

MathInline macro behaves exactly same as Mathdisplay

David,

As I understand, mathline macro should display notations inline, but right now on Confluence 5.1+, it behaves exactly same as mathdisplay i.e. text is displayed as BLOCK.

The problem is,"atlassian-macro-output-type" parameter is set as BLOCK instead of INLINE.

{code}
<ac:macro ac:name="mathinline">
<ac:parameter ac:name="atlassian-macro-output-type">BLOCK/ac:parameter
{code}

if I change this to

{code}
<ac:macro ac:name="mathinline">
<ac:parameter ac:name="atlassian-macro-output-type">INLINE/ac:parameter
{code}

it works just fine. Wanted to check with you if you got time to fix it. My guess after looking at your source is com.cityinthesky.plugins.mathjax.MathInline has method

public boolean isInline()
{
return false;
}

it should return true. is that correct? Do suggest.

Thanks for the plugin,
Raju

Issues in table headings?

MathJax seems to work fine in table cells, but if I try to put them in table headings it causes problems, even for simple things like \(x\)

For the life of me, I can't figure out why this is occurring or how to fix it.

Using Mathjax CDN

Hi, Just a possible suggestion. Adding the following into the atlassian-plugin.xml file will insert the call to pull the latest version of MathJax from the mathjax CDN.

<web-panel key="include-mathjax-library" location="atl.header">
    <resource name="view" type="static"><![CDATA[
    <script type="text/javascript" 
        async 
        src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
    </script>

]]>

</web-panel

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.