You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous CSS was using generic "table > ..." which could conflict
with regular tables which might be unwanted. You now have to use the
wrapper class of "markdown" or "marked" for your preview <div>
Copy file name to clipboardExpand all lines: readme.md
+30-2
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Angular Markdown Editor (Directive)
2
-
`1.0.1`
2
+
`1.0.2`
3
3
4
4
## What do we have?
5
5
I have put together a few libraries and tools to make a convenient "all in one" WYSIWYG Markdown Editor and preview. All of that with a simple AngularJS Directive call. I plan to use this mainly for online documentation but it could be useful for many other reasons. Also planning to add a 1-click button for simple Copy+Paste to email.
@@ -21,11 +21,39 @@ _Some of the dependencies were added by hand to this package (because they don't
21
21
PM> Install-Package Angular-Markdown-Editor
22
22
```
23
23
24
+
### Include Styles & Scripts
25
+
_NOTE: Unfortunately, the "highlight.js" npm module doesn't seem to have proper bundles, so it's easier for us get the minified CSS and JS files directly from CDN where they are bundled correctly. As for the highlight style, if you want to use another style, then you can replace the "...xxx.min.css" by the name you want to use, for example if we want to use "github", that would be "highlight.js/.../github.min.css"_
I really thought that some buttons were missing to go a great job (~~Strikethrough~~&**Table**). So I added them within the directive as an option. They are not enabled by default, so you will need to enable them manuallyif you do want to use them with the option of `addExtraButtons`.
68
+
I really thought that some buttons were missing to go a great job (~~Strikethrough~~&**Table**). So I added them within the directive as an option. They are not enabled by default, so you will need to enable them manually, that is if you do want to use them. The option argument is `addExtraButtons` to `true`.
0 commit comments