Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 15 12:12
    brunetton opened #1715
  • Sep 13 01:38
    byondrealdev synchronize #1712
  • Sep 10 13:33
    ronald8192 commented #1705
  • Sep 09 20:41
    jackycute commented #1714
  • Sep 07 17:20
    Jiraiya-08 closed #1713
  • Sep 07 17:18
    Jiraiya-08 edited #1713
  • Sep 07 17:16
    Jiraiya-08 commented #1713
  • Sep 07 17:16
    Jiraiya-08 commented #1713
  • Sep 07 16:44
    Jiraiya-08 commented #1713
  • Sep 07 02:37
    jackycute closed #1714
  • Sep 07 02:31
    jackycute commented #1713
  • Sep 07 02:30
    jackycute commented #1713
  • Sep 07 02:26
    jackycute commented #1714
  • Sep 07 02:22
    SWBMESSI opened #1714
  • Sep 06 23:34
    Jiraiya-08 edited #1713
  • Sep 06 23:31
    Jiraiya-08 opened #1713
  • Sep 04 01:18
    byondrealdev opened #1712
  • Sep 03 13:14
    Peter554 closed #806
  • Sep 03 13:14
    Peter554 commented #806
  • Sep 02 18:39
    XVilka commented #245
Shaun Mitchell
@shitchell
i would love to help contribute to hackmd. if we add stuffs to codimd, is there a chance that it could be used with the hackmd website? i'm not sure how similar the codebases are
2 replies
Jan Mordae Hamal Dvořák
@mordae:matrix.org
[m]
Hello, once again. We'd love to sponsor adding comments to CodiMD. Is there anyone we could negotiate this with?
1 reply
Jan Mordae Hamal Dvořák
@mordae:matrix.org
[m]
It's more like I need help from you, though. :-)
We (Czech Pirate Party) are starting to use CodiMD quite heavily for various purposes. It's slowly becoming the go-to alternative to GDocs for many of our users. What's keeping the adoption back is comments. We don't really need edit proposals, but the ability to highlight a portion of the rendered text and attach a note that can be commented on and dismissed would help us a lot. I does not have to end up in the Markdown source, it can live outside, if easier.
1 reply
Jan Mordae Hamal Dvořák
@mordae:matrix.org
[m]
It might also be acceptable for us to purchase on-premise HackMD if you offered eventual open-source license like Sentry does (https://blog.sentry.io/2019/11/06/relicensing-sentry).
nicholas⛱
@nnnnicholas_twitter
Hi! I asked the question on Twitter but just discovered this Gitter: Is there a way to link to a header tag so that the browser scrolls to the tag? The section links on the preview page are great but cause a page refresh.
2 replies
nicholas⛱
@nnnnicholas_twitter
image.png
3 replies
I also have a small improvement proposal. When using the format bar, I often overshoot with my mouse, then this drops down and now the button hit area for the formatting tool I intended to use is completely obscured by this (albeit great) dropbown menu. The problem is that if you overshoot, then correct and move your mouse down to directly over the original button, you will still be clicking an unexpected button that opens a whole new page. So if you overshoot, you have to mouse out of this box you were not anticipating being there. It's a small thing but I do it by accident multiple times a day. Perhaps the dropdown could be relocated horizontally or the buttons could require a click to see their submenu contents.
zx9w
@zx9w
Hey, is there any way to add latex packages? didn't see anything in the docs... I would like to be able to do commutative diagrams but I need the tikz-cd package.
Nadir Ghoul
@gndu91:matrix.org
[m]
Is it possible to use phantomjs instead of phantomjs-prebuilt?
I tried building phantomjs (because I am on arm), but it still tries to get phantomjs-prebuilt, which does not work.
Nadir Ghoul
@gndu91:matrix.org
[m]
Do you know how to remove phantomjs-prebuilt from the npm requirements?
Nadir Ghoul
@gndu91:matrix.org
[m]
Also, is "Found 294 vulnerabilities (255 low, 17 moderate, 22 high)" a normal output?
Alper Yilmaz
@alperyilmaz
Hi. I was planning to use HackMD/CodiMD in classroom setting where students add content. For grading purposes, it would be nice to see who contributed how much. In "Versions" screen, the revisions can be seen and compared. But I was wondering if it's possible to see contributions per user/contributor?
Max Wu
@jackycute
CodiMD 2.4.1 has released, make sure you upgrade to this version!
https://github.com/hackmdio/codimd/releases/tag/2.4.1
Also check out our release note: https://hackmd.io/@codimd/release-notes/%2F%40codimd%2Fv2_4_0
Aakash Nand
@aakashnand_gitlab
Hello is there any way to import user data without loosing history?
We are planning to move from LDAP to AZURE for authentication which will cause change in user information, I want to know how can I do this migration without loosing data and ownership?
Max Wu
@jackycute

Hello is there any way to import user data without loosing history?

I think the only way is migrate the DB, no other way to keep all authorship and history from files at the moment.

Aakash Nand
@aakashnand_gitlab
@jackycute but if we change from LDAP to AzureAD it will change user profiles then users will lose the ownership and history, how can we solve this?
Max Wu
@jackycute

@jackycute but if we change from LDAP to AzureAD it will change user profiles then users will lose the ownership and history, how can we solve this?

Maybe let them join through AzureAD and map those user account's profileid back to original user id and remove those accounts.

  1. Let users register through AzureAD
  2. Find those newly created user accounts' profileid
  3. Map those profileid back to former user accounts
  4. Remove user accounts that created through AzureAD
Aakash Nand
@aakashnand_gitlab
Understood thanks. Does the generic Oauth authentication works with AzureAD? I am able to login but I am getting Internal server error saying "InternalOAuthError: Failed to fetch user profile"
What would be the value for CMD_OAUTH2_USER_PROFILE_URL and CMD_OAUTH2_SCOPE for AzureAD?
Aakash Nand
@aakashnand_gitlab

Map those profileid back to former user accounts

@jackycute Could you please clarify this step? By mapping what do you mean? Should I replace profileid in Users table with the new profileid and then delete the account created by AzureAD but this will give error cause there is unique_constraint on profileid in Users table

Max Wu
@jackycute

Map those profileid back to former user accounts

@jackycute Could you please clarify this step? By mapping what do you mean? Should I replace profileid in Users table with the new profileid and then delete the account created by AzureAD but this will give error cause there is unique_constraint on profileid in Users table

Yes, please backup the db first.
Copy the new user account's profileid and clean the field, then paste to new account's profileid, this should avoid unique constraint.

Nadir Ghoul
@gndu91:matrix.org
[m]
Hi, is it possible to deploy it on an arm machine?
Nadir Ghoul
@gndu91:matrix.org
[m]
Also, why do you say
Edit the following config file to setup CodiMD server and client.
Read more info at https://hackmd.io/c/codimd-documentation/%2Fs%2Fcodimd-configuration
  • config.json -- CodiMD config
  • .sequelizerc -- db config
When in the script the config is loaded from
var config = require('./lib/config')
Max Wu
@jackycute

Edit the following config file to setup CodiMD server and client.
Read more info at https://hackmd.io/c/codimd-documentation/%2Fs%2Fcodimd-configuration

  • config.json -- CodiMD config
  • .sequelizerc -- db config

. sequelizerc is used by sequelize (our ORM tool) when running db migrations and seeders

Hi, is it possible to deploy it on an arm machine?

Yes, please take a look at dockerhub: https://hub.docker.com/r/hackmdio/hackmd/tags?page=1&ordering=last_updated

2 replies
Nadir Ghoul
@gndu91:matrix.org
[m]
On the page, not a single arm in signt
When I deploy it it gives "standard_init_linux.go:219: exec user process caused: exec format error"
And when I deploy it manually I get other errors, such as an error installing phantom-prebuilt
Max Wu
@jackycute
I think it only works on linux/arm64, are you running on arm only?
If so, I'm afraid it won't work on arm at the moment.
1 reply
Nadir Ghoul
@gndu91:matrix.org
[m]
Do you mean amd64
1 reply
Max Wu
@jackycute

Do you mean amd64

Oops, sorry about typo, it's amd64 not arm64, I'm reading it wrong all the time

做梦专业户
@ihexon
Anybody know what is the root password and hackmd password in docker image, I wnat login docker container with root , Thanks
3 replies
Neel Bhannushali
@neelbhanushali
Hackmd has custom links for documents. Is there any config in Codi MD to set this up?
1 reply
fajar alfayet
@fajarrrrr
Hi everyone, can you share your config.json.
I've been a few days but I'm still confused, I hope you can show me the config.json file
fajar alfayet
@fajarrrrr
image.png
just yesterday it was possible and this morning like that
Xenooooooooo
@Xenooooooooo
Sorry, I am here to raise a bug. My account can't log in suddenly just now, and my three sharing links of md are all corrupt. How can I restore my account and sharing links?
1 reply
Any developer here? We didn't backup our md in time, and I don't want to lose our team members' work :(
1 reply