Hi Jerad, Currently, when you are adding a New Document to the API in the Publisher (v2.x), you can only give Inline, URL and File as the source type. It doesn't have a mechanism to add markdown (md) docs. This is to give that support to the API Publisher.
Best Regards, *Varuni Punchihewa* Software Engineer - Intern | *WSO2* *Tel:* +94 71 699 5861 <http://wso2.com/signature> On Sat, Feb 16, 2019 at 10:07 AM Jerad Rutnam <[email protected]> wrote: > Hi Varuni, > > Can you also explain where we need it and what are we trying to achieve by > giving markdown support in v2.xx ? Because for react we already have one. > > Cheers! > > On Sat, Feb 16, 2019 at 8:42 AM Varuni Punchihewa <[email protected]> > wrote: > >> Hi Chamin, >> >> We had a look at the react-markdown library but prefer a javascript >> library more to include inside the jaggery in 2.x >> >> Best Regards, >> >> *Varuni Punchihewa* >> Software Engineer - Intern | *WSO2* >> *Tel:* +94 71 699 5861 >> <http://wso2.com/signature> >> >> >> On Fri, Feb 15, 2019 at 8:15 PM Chamin Dias <[email protected]> wrote: >> >>> Hi, >>> >>> We had somewhat similar requirement few months ago and we decided to >>> choose this library. <https://github.com/rexxars/react-markdown> Are >>> you trying to do this using react? You can find the discussion thread >>> here >>> <http://wso2-oxygen-tank.10903.n7.nabble.com/Selecting-a-react-markdown-library-for-APIM-3-0-0-In-line-Documents-td158834.html#a158847> >>> . >>> >>> Thanks. >>> >>> >>> On Fri, Feb 15, 2019 at 5:41 PM Varuni Punchihewa <[email protected]> >>> wrote: >>> >>>> >>>> Best Regards, >>>> >>>> *Varuni Punchihewa* >>>> Software Engineer - Intern | *WSO2* >>>> *Tel:* +94 71 699 5861 >>>> <http://wso2.com/signature> >>>> >>>> >>>> On Fri, Feb 15, 2019 at 5:29 PM Varuni Punchihewa <[email protected]> >>>> wrote: >>>> >>>>> Hi all, >>>>> >>>>> I have been working on giving the markdown support for APIM 2.x. and >>>>> the library I have planned to use was "htmleditor" in uikit library >>>>> [1]. >>>>> But found out recently that there was an XSS threat using this library >>>>> and they have also dropped the support for latest versions telling that it >>>>> was out of their scope. >>>>> >>>>> Would like to know any suggestions for a good JavaScript markdown >>>>> editor. Please share if you have any suggestions. >>>>> >>>>> [1] https://getuikit.com/v2/docs/htmleditor.html >>>>> >>>>> Thank you and Best Regards, >>>>> >>>>> *Varuni Punchihewa* >>>>> Software Engineer - Intern | *WSO2* >>>>> *Tel:* +94 71 699 5861 >>>>> <http://wso2.com/signature> >>>>> >>>> >>> >>> -- >>> Chamin Dias >>> Mobile : 0716097455 >>> Email : [email protected] >>> LinkedIn : https://www.linkedin.com/in/chamindias >>> >>> > > -- > *Jerad Rutnam* > *Senior Software Engineer* > > WSO2 Inc. > lean | enterprise | middleware > M : +94 77 959 1609 | E : [email protected] | W : www.wso2.com > > <https://wso2.com/signature> >
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
