Skip to content

solodynamo/mediYum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mediYum.png

A very very very micro medium editor clone . WIP!

Demo

demo: https://solodynamo.github.io/mediYum/

Get Instantly Writing

  • Clone the repo.
git clone https://github.com/solodynamo/mediYum.git
cd mediYum
npm install -g gulp
npm install
gulp totalBuild

Open editor.html in browser.

Main Files

├── gulpfile.js             # File through which all command runs.

├── README.md               # File from which you are reading currently.

├── editor.html             # Main markup

├── scss
    └── global.scss         # Contains global scss.
    └── main.scss           # Main file
    └── mediYum.scss        # Contains editor toolbar scss.
├── js
   └── mediYum.js           # JS file

Gulp Commands

gulp sass (compiles and minify scss into dist/css)
gulp total (uglifies/obfuscates/babelify js file into dist/minjs)
gulp totalBuild (Does all the above stuff at once)

Contributing

mediYum ❤️ contributions. Feel free to send this repo a PR.

  1. Create an issue if there is one
  2. [Fork the repo] (https://github.com/solodynamo/mediYum.git/fork)
  3. Create your feature branch (git checkout -b your-feature)
  4. Add and commit your changes (git commit -am 'message')
  5. Push the branch (git push origin your-feature)
  6. Create a new Pull Request

Feedback

Create an issue for all discussions, bugs, feature requests and pull requests.

Authors

solodynamo

Contribute and add your name in above list.

Todos

mediYum ❤️ contributions. Feel free to send this repo a PR.

  1. Make each paragraph drag and droppable.
  2. Allow users to add links

References

  1. ContentEditable: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable
  2. SelectionAPI: https://developer.mozilla.org/en-US/docs/Web/API/Selection
  3. Medium: https://medium.com/
  4. medium-editor: https://github.com/yabwe/medium-editor/
  5. mediumJS: https://github.com/jakiestfu/Medium.js/

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A (very)x3 micro medium editor clone

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published