Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding gist github service #82

Closed
jefcolbi opened this issue Feb 19, 2022 · 5 comments · Fixed by #91
Closed

Adding gist github service #82

jefcolbi opened this issue Feb 19, 2022 · 5 comments · Fixed by #91
Labels
good first issue Good for newcomers

Comments

@jefcolbi
Copy link
Contributor

jefcolbi commented Feb 19, 2022

Hi, i am trying to add gist github service but it is not working. This is what i tried

'github': {
              regex: /https?:\/\/gist.github.com\/([^\/\?\&]*)\/([^\/\?\&]*)/,
              embedUrl: 'https://gist.github.com/<%= remote_id %>',
              html: "<iframe height='300' scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'></iframe>",
              height: 300,
              id: (groups) => groups.join('/')
          }

What am i doing wrong?

@rajeshbanoth
Copy link

Hi, i am trying to add gist github service but it is not working. This is what i tried

'github': {
              regex: /https?:\/\/gist.github.com\/([^\/\?\&]*)\/([^\/\?\&]*)/,
              embedUrl: 'https://gist.github.com/<%= remote_id %>',
              html: "<iframe height='300' scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'></iframe>",
              height: 300,
              id: (groups) => groups.join('/')
          }

What am i doing wrong?

@jefcolbi if you could embedd GitHub gist please let me now I am also facing similar issue

@jefcolbi
Copy link
Contributor Author

I have been able to add it yes

@neSpecc neSpecc added the good first issue Good for newcomers label Apr 25, 2022
@rajeshbanoth
Copy link

I have been able to add it yes
@jefcolbi can you please share me the code I was unable to add git gist to editor

@jefcolbi
Copy link
Contributor Author

jefcolbi commented Apr 25, 2022

@neSpecc
Copy link
Contributor

neSpecc commented Apr 26, 2022

Still on review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants