prose.sh functionality test

· macaylamarvelous81's blog

What can prose.sh do?!

I'm curious; what can I do with prose.sh? Let's perform the following tests.

per-post css #

Can we apply css to certain posts? We can apply css to all posts by uploading an _styles.css file, but let's see if we can embed css into the post.

Test method #

The following html is included in the post.

1<style>
2.css-test::before {
3    content: "It works!";
4    display: block;
5}
6</style>
7<p class="css-test">Sample paragraph</p>

Test environment #

Sample paragraph

Test results: Fail. The style tag is removed.

Post javascript #

Can we embed javascript in a post? Let's find out!

Test method #

The following html is included in the post.

1<script>
2console.log("Hello, world!");
3</script>

Test environment #

Test results: Fail. The script tag is removed.