markdownpedia icon indicating copy to clipboard operation
markdownpedia copied to clipboard

Some new ideas (convert to PDF & add different languages)

Open Marie-P opened this issue 3 years ago • 7 comments

:sun_with_face: Hello :sun_with_face:

We are three Computer Sciences :computer: students and want to contribute on Markdownpedia.

Actually, we have two ideas :bulb: to contribute the project. In wikipedia we can download as pdf and have different languages. We would like to create an article, as an example, in a few languages. So, add buttons to change language and convert the page to PDF. :thought_balloon: Is it interesting for markdownpedia ?

:sparkles: Best regards.

Marie-P avatar Mar 08 '21 12:03 Marie-P

On Wikipedia there are many options to share the article, by languages or to download the page to keep it offline.

Create the first article 1️⃣

To begin with, a first article's creation will be use as an example.

  1. To build the style sheet around the article's page
  2. To fill the Markdowpedia, currently's empty

After that, buttons need to be added to change the language's page and to convert the page as PDF :

1. Transcript the article in different languages

2. Convert Pages as PDF

phv4ng avatar Mar 08 '21 13:03 phv4ng

Yeah, it'll be an awesome idea. I myself have to fix the site, for some reason, the hosting service doesn't want to work. You guys can go right ahead, these will be great additions to the site, and thank you for choosing Markdownpedia.

mamamia5x avatar Mar 08 '21 13:03 mamamia5x

The site is back in action, I'll be doing some fixes to the backend. But this does have me thinking.

Markdownpedia gets markdown files and then converts them into HTML files and sends it to the user. Would it be possible to have another script convert the html page to a pdf file and have a button that sends that file to the user?

What do you guys think? There is jsPDF, which seems more like writing on a canvas.

mamamia5x avatar Mar 11 '21 19:03 mamamia5x

Hello, Yeah, we think it's a good idea, we'll do it like that.

aboughatane avatar Mar 15 '21 08:03 aboughatane

Alright sounds good, would you like me to assign you?

mamamia5x avatar Mar 15 '21 12:03 mamamia5x

Yes it would be great.

Marie-P avatar Mar 15 '21 12:03 Marie-P

Hello, Sorry to come back this late :confused:, we were too busy for school. We did a pull request, tell us what you think about it.

pdfConvert

aboughatane avatar May 08 '21 10:05 aboughatane