Skip to content

Commit

Permalink
Updated package version (0.0.6)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxy committed May 4, 2024
1 parent 2e6c849 commit deff718
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 5 deletions.
22 changes: 21 additions & 1 deletion css/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ form legend {
}

form legend button {
background-color: transparent;
border: none;
color: #0000ff;
cursor: pointer;
margin: 0 2px;
}

Expand Down Expand Up @@ -58,12 +62,24 @@ form .textmarked {
padding: 0;
}

#output blockquote,
#output h1,
#output h2,
#output h3,
#output h4,
#output h5,
#output ol,
#output ul {
margin-bottom: 20px;
margin-top: 10px;
}

#output blockquote {
background-color: #eee;
color: #555;
border-left: 2px solid #999;
font-style: italic;
margin: 10px 5px;
margin-left: 5px;
padding: 10px;
}

Expand All @@ -75,3 +91,7 @@ form .textmarked {
#output img {
width: 100%;
}

#output li {
margin-left: 30px;
}
10 changes: 8 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,15 @@
field1.style.visibility = 'visible';
field1.style.position = 'relative';
field2.style.display = 'none';

toggleButton.textContent = 'Show TextMarked';

} else {
field1.style.visibility = 'hidden';
field1.style.position = 'absolute';
field2.style.display = 'block';

toggleButton.textContent = 'Show default';
}
});
};
Expand All @@ -70,8 +75,9 @@
<form>
<fieldset>
<legend>
<button id="preview-button">Preview</button>
<button id="toggle-button">Toggle</button>
<button id="toggle-button">Show default</button>
&middot;
<button id="preview-button">Preview changes</button>
</legend>

<div>
Expand Down
2 changes: 1 addition & 1 deletion textmarked.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion textmarked.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit deff718

Please sign in to comment.