-
Notifications
You must be signed in to change notification settings - Fork 0
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
Technical/issue 133 markdown for blog posts #137
Technical/issue 133 markdown for blog posts #137
Conversation
Tried upgrading to v0.6.0 but still seeing unescaped content using HTML (unless there are no line breaks) or markdown? 🤔 blog/2020/04/07---
template: 'post'
title: 'Git Explorer'
date: '04.07.2020'
image: '/assets/blog-post-images/git.png'
---
Made this a little while ago but felt it would be fun to share, called <a href="https://github.com/thescientist13/git-explorer" target="_blank" rel="noopener" @onclick="captureOutboundLink('https://github.com/thescientist13/git-explorer'); return false;"><b>Git Explorer</b>.</a>
It is a NodeJS package you can install from NPM that will provide a nice browser based comparison tool for any `git` repo on your local machine.
![Project Screenshot](https://raw.githubusercontent.com/thescientist13/git-explorer/master/git-explorer.png)
Checkout the _README.md_ for more info and feel free to submit an issue if you see a bug or would like to request a feature. 👋 blog/2018/11/19Notice there that in the screenshot you can see escaped HTML right were all the markup is separated out. ---
template: 'blog'
title: 'Contributary'
---
<app-blog-post
title='Contributary'
description='A project for helping connect open source with the open source community.'
date='11.19.2018'
image='https://s3.amazonaws.com/hosted.contributary.community/media/contributary-logo-invert.png'>
<div>
<p>From my own personal experience, I can say getting involved in open source has certainly helped me mature multiple aspects of my professional and personal life. It was for this reason that as my job responsibilities started to include helping mentoring and training junior developers, I would often use open source as a good jumping off point for getting involved in software development. Although <i>I</i> knew where to look, for someone new to their respective community and not familiar with all the tools and languages or even GitHub itself, I realized there was a way to help make a difference.</p>
<p><a target="_blank" href="https//www.contributary.community">Contributary</a> is a new project I have started with the goal of helping connect open source projects with the open source community by providing a webapp and general tools to make searching out and contributing to open source projects easier and more intuitive.
</p>
<img src="https://s3.amazonaws.com/hosted.contributary.community/media/contributary-screenshot-0.2.0.png" alt="Contributary screeshot"/>
<p>Contributary has only just recently launched in an early release phase and is eager to look for its own set of contributors. The project is <a target="_blank" href="https://github.com/ContributaryCommunity" @onclick="captureOutboundLink('https://github.com/ContributaryCommunity'); return false;">open source</a> so you can use Contributary to find ways to contribute to Contributary (much meta)! 🤓</p>
</div>
</app-blog-post> |
Works perfectly fine. So some syntax in your link is bugging it up. edit: this broke it:
Yea |
Second one works fine too. Except you have some mysterious blank spaces
|
Thanks for taking a look @hutchgrant
That's Lit's event handling. So that not's supported then? Should I try just HTML
Line breaks, or something else? Isn't whitespace ignored in HTML or am I missing. Will play around with it some more either way. |
69f6453
to
3a426b9
Compare
Now seeing this issue |
3a426b9
to
f8acdbf
Compare
A PR has opened and was also able to confirm that it has solved the problem here in this project! 🎉 |
d038190
to
f05c8ed
Compare
Summary
resolves #133
<app-blog-post>
to template instead/
by using alastIndexOf
hackTODOs
<a>
link CSS renderingimport
line for<app-blog-post>
Observations
Should HTML work out of the box without fence blocks.
For this markdown I am getting this HTML
I am seeing this escaped HTML.
Maybe a lit-html thing?
edit: above was resolved